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
248fbb8c
Commit
248fbb8c
authored
May 14, 1998
by
Andrew Tridgell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syslog some stats
parent
fabf5ea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
main.c
main.c
+7
-0
No files found.
main.c
View file @
248fbb8c
...
...
@@ -32,9 +32,16 @@ static void report(int f)
time_t
t
=
time
(
NULL
);
extern
int
am_server
;
extern
int
am_sender
;
extern
int
am_daemon
;
if
(
!
verbose
)
return
;
if
(
am_daemon
)
{
rprintf
(
FINFO
,
"wrote %.0f bytes read %.0f bytes total size %.0f
\n
"
,
(
double
)
write_total
(),(
double
)
read_total
(),
(
double
)
total_size
);
}
if
(
am_server
&&
am_sender
)
{
write_longint
(
f
,
read_total
());
write_longint
(
f
,
write_total
());
...
...
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