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
e4676bb5
Commit
e4676bb5
authored
May 12, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the --stats output come out after any delete-after messages.
parent
3b968014
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
main.c
main.c
+4
-7
No files found.
main.c
View file @
e4676bb5
...
...
@@ -175,7 +175,7 @@ static void handle_stats(int f)
stats
.
flist_buildtime
=
read_longint
(
f
);
stats
.
flist_xfertime
=
read_longint
(
f
);
}
}
else
if
(
write_batch
&&
!
am_server
)
{
}
else
if
(
write_batch
)
{
/* The --read-batch process is going to be a client
* receiver, so we need to give it the stats. */
write_longint
(
batch_fd
,
total_read
);
...
...
@@ -186,7 +186,10 @@ static void handle_stats(int f)
write_longint
(
batch_fd
,
stats
.
flist_xfertime
);
}
}
}
static
void
output_summary
(
void
)
{
if
(
do_stats
)
{
rprintf
(
FINFO
,
"
\n
Number of files: %d
\n
"
,
stats
.
num_files
);
rprintf
(
FINFO
,
"Number of files transferred: %d
\n
"
,
...
...
@@ -214,12 +217,6 @@ static void handle_stats(int f)
(
double
)
total_read
);
}
fflush
(
stdout
);
fflush
(
stderr
);
}
static
void
output_summary
(
void
)
{
if
(
verbose
||
do_stats
)
{
rprintf
(
FINFO
,
"
\n
sent %.0f bytes received %.0f bytes %.2f bytes/sec
\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