Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
add7e8fb
Commit
add7e8fb
authored
Aug 31, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc.
Try to give a better error message when there is a remote option error.
parent
f6e09367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
options.c
options.c
+7
-2
No files found.
options.c
View file @
add7e8fb
...
...
@@ -306,14 +306,19 @@ static struct poptOption long_options[] = {
static
char
err_buf
[
100
];
/* We store the option error message, if any, so that we can log the
connection attempt (which requires parsing the options), and then
show the error later on. */
void
option_error
(
void
)
{
if
(
err_buf
[
0
])
{
rprintf
(
FLOG
,
"%s"
,
err_buf
);
rprintf
(
FERROR
,
"%s: %s"
,
RSYNC_NAME
,
err_buf
);
}
else
{
rprintf
(
FLOG
,
"Error parsing options - unsupported option?
\n
"
);
rprintf
(
FERROR
,
"Error parsing options - unsupported option?
\n
"
);
rprintf
(
FERROR
,
"Error parsing options: "
"option may be supported on client but not on server?
\n
"
);
rprintf
(
FERROR
,
RSYNC_NAME
": Error parsing options: "
"option may be supported on client but not on server?
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment