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
77860bac
Commit
77860bac
authored
Jan 29, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to send --partial when we're the receiver.
parent
63cf5ae7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
options.c
options.c
+4
-4
No files found.
options.c
View file @
77860bac
...
...
@@ -179,7 +179,7 @@ static int refused_delete, refused_archive_part, refused_compress;
static
int
refused_partial
,
refused_progress
,
refused_delete_before
;
static
int
refused_inplace
;
static
char
*
max_size_arg
,
*
min_size_arg
;
static
char
partialdir_for_delayupdate
[]
=
".~tmp~"
;
static
char
tmp_partialdir
[]
=
".~tmp~"
;
/** Local address to bind. As a character string because it's
* interpreted by the IPv6 layer: should be a numeric IP4 or IP6
...
...
@@ -1330,7 +1330,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
}
if
(
delay_updates
&&
!
partial_dir
)
partial_dir
=
partialdir_for_delayupdate
;
partial_dir
=
tmp_partialdir
;
if
(
inplace
)
{
#ifdef HAVE_FTRUNCATE
...
...
@@ -1651,13 +1651,13 @@ void server_options(char **args,int *argc)
}
if
(
partial_dir
&&
am_sender
)
{
if
(
partial_dir
!=
partialdir_for_delayupdate
)
{
if
(
partial_dir
!=
tmp_partialdir
)
{
args
[
ac
++
]
=
"--partial-dir"
;
args
[
ac
++
]
=
partial_dir
;
}
if
(
delay_updates
)
args
[
ac
++
]
=
"--delay-updates"
;
}
else
if
(
keep_partial
)
}
else
if
(
keep_partial
&&
am_sender
)
args
[
ac
++
]
=
"--partial"
;
if
(
ignore_errors
)
...
...
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