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
9497b0d4
Commit
9497b0d4
authored
Mar 04, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call log_item() instead of log_recv().
parent
b694f8a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
generator.c
generator.c
+1
-1
receiver.c
receiver.c
+5
-5
No files found.
generator.c
View file @
9497b0d4
...
...
@@ -331,7 +331,7 @@ static void itemize(struct file_struct *file, int statret, STRUCT_STAT *st,
write_int
(
f_out
,
ndx
);
write_shortint
(
f_out
,
iflags
);
}
else
if
(
ndx
>=
0
)
log_
recv
(
file
,
&
stats
,
iflags
);
log_
item
(
file
,
&
stats
,
iflags
,
NULL
);
}
}
...
...
receiver.c
View file @
9497b0d4
...
...
@@ -408,11 +408,11 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
int
see_item
=
itemizing
&&
(
iflags
||
verbose
>
1
);
if
(
am_server
)
{
if
(
am_daemon
&&
!
dry_run
&&
see_item
)
log_
recv
(
file
,
&
stats
,
iflags
);
log_
item
(
file
,
&
stats
,
iflags
,
NULL
);
}
else
if
(
see_item
||
iflags
&
ITEM_UPDATING
||
(
S_ISDIR
(
file
->
mode
)
&&
iflags
&
ITEM_REPORT_TIME
))
log_
recv
(
file
,
&
stats
,
iflags
);
log_
item
(
file
,
&
stats
,
iflags
,
NULL
);
continue
;
}
}
else
...
...
@@ -437,7 +437,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
if
(
dry_run
)
{
/* log the transfer */
if
(
!
am_server
&&
log_format
)
log_
recv
(
file
,
&
stats
,
iflags
);
log_
item
(
file
,
&
stats
,
iflags
,
NULL
);
continue
;
}
...
...
@@ -581,7 +581,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
/* log the transfer */
if
(
log_before_transfer
)
log_
recv
(
file
,
&
initial_stats
,
iflags
);
log_
item
(
file
,
&
initial_stats
,
iflags
,
NULL
);
else
if
(
!
am_server
&&
verbose
&&
do_progress
)
rprintf
(
FINFO
,
"%s
\n
"
,
safe_fname
(
fname
));
...
...
@@ -590,7 +590,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name,
fname
,
fd2
,
file
->
length
);
if
(
!
log_before_transfer
)
log_
recv
(
file
,
&
initial_stats
,
iflags
);
log_
item
(
file
,
&
initial_stats
,
iflags
,
NULL
);
if
(
fd1
!=
-
1
)
close
(
fd1
);
...
...
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