aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-05-09 18:30:57 +0000
committerWayne Davison <wayned@samba.org>2006-05-09 18:30:57 +0000
commit56aaa4c44cc2bb6a4179627582b5f57c69614451 (patch)
tree0947adeb5294963da249af1c62b342b66da5203f
parent4b6a7bd706f27456ae38828426d40363c9bd12f4 (diff)
downloadandroid_external_rsync-56aaa4c44cc2bb6a4179627582b5f57c69614451.tar.gz
android_external_rsync-56aaa4c44cc2bb6a4179627582b5f57c69614451.tar.bz2
android_external_rsync-56aaa4c44cc2bb6a4179627582b5f57c69614451.zip
Tweaked the comment about log-message categories.
-rw-r--r--rsync.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/rsync.h b/rsync.h
index 3e5217c1..5b1343b5 100644
--- a/rsync.h
+++ b/rsync.h
@@ -157,9 +157,10 @@
ITEM_BASIS_TYPE_FOLLOWS | ITEM_XNAME_FOLLOWS | ITEM_LOCAL_CHANGE))
-/* Log-message categories. Only FERROR and FINFO get sent over the socket.
- * FLOG and FCLIENT are only used on the daemon side for custom logging,
- * while FNAME is only used on the client side. */
+/* Log-message categories. Only FERROR and FINFO get sent over the socket,
+ * but FLOG and FSOCKERR can be sent over the receiver -> generator pipe.
+ * FLOG only goes to the log file, not to the client; FCLIENT is the opposite.
+ * FNAME is a client-side message when outputting a filename on its own. */
enum logcode { FERROR=1, FINFO=2, FLOG=3, FCLIENT=4, FNAME=5, FSOCKERR=6 };
/* Messages types that are sent over the message channel. The logcode