The Samba-Bugzilla – Attachment 13271 Details for
Bug 12838
[PATCH] Log sent/received bytes even in case of error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rsync_log_daemon
rsync_log_daemon.patch (text/plain), 645 bytes, created by
Ben RUBSON
on 2017-06-13 13:56:16 UTC
(
hide
)
Description:
rsync_log_daemon
Filename:
MIME Type:
Creator:
Ben RUBSON
Created:
2017-06-13 13:56:16 UTC
Size:
645 bytes
patch
obsolete
>--- log.c.orig 2017-02-14 19:35:28.000000000 +0100 >+++ log.c 2017-06-13 15:51:35.000000000 +0200 >@@ -861,12 +861,11 @@ > */ > void log_exit(int code, const char *file, int line) > { >- if (code == 0) { >- rprintf(FLOG,"sent %s bytes received %s bytes total size %s\n", >- big_num(stats.total_written), >- big_num(stats.total_read), >- big_num(stats.total_size)); >- } else if (am_server != 2) { >+ rprintf(FLOG,"sent %s bytes received %s bytes total size %s\n", >+ big_num(stats.total_written), >+ big_num(stats.total_read), >+ big_num(stats.total_size)); >+ if (code != 0 && am_server != 2) { > const char *name; > > name = rerr_name(code);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12838
: 13271