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
12a79db2
Commit
12a79db2
authored
Jan 15, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplified one "if" that checks if one of the --FOO-dest options
was specified.
parent
e8b155a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
options.c
options.c
+2
-2
No files found.
options.c
View file @
12a79db2
...
@@ -145,7 +145,7 @@ static int daemon_opt; /* sets am_daemon after option error-reporting */
...
@@ -145,7 +145,7 @@ static int daemon_opt; /* sets am_daemon after option error-reporting */
static
int
modify_window_set
;
static
int
modify_window_set
;
static
int
compare_dest
=
0
;
static
int
compare_dest
=
0
;
static
int
basis_dir_cnt
=
0
;
static
int
basis_dir_cnt
=
0
;
static
char
*
dest_option
;
static
char
*
dest_option
=
NULL
;
static
char
*
max_size_arg
;
static
char
*
max_size_arg
;
/** Local address to bind. As a character string because it's
/** Local address to bind. As a character string because it's
...
@@ -958,7 +958,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
...
@@ -958,7 +958,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
am_server
?
"server"
:
"client"
);
am_server
?
"server"
:
"client"
);
return
0
;
return
0
;
#endif
#endif
if
(
compare_dest
||
copy_dest
||
link_dest
)
{
if
(
dest_option
)
{
snprintf
(
err_buf
,
sizeof
err_buf
,
snprintf
(
err_buf
,
sizeof
err_buf
,
"--inplace does not yet work with %s
\n
"
,
"--inplace does not yet work with %s
\n
"
,
dest_option
);
dest_option
);
...
...
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