use full buffer length, not strlen
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 3c5b7dc..471449e 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -63,7 +63,7 @@
 
 #define MPLEX_BASE 7
 
-enum logcode {FERROR=1, FINFO=2, FLOG=3};
+enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3};
 
 #include "errcode.h"
 
@@ -283,10 +283,6 @@ enum logcode {FERROR=1, FINFO=2, FLOG=3};
 #define MAXPATHLEN 1024
 #endif
 
-#ifndef PIPE_BUF
-#define PIPE_BUF 512
-#endif
-
 #ifndef INADDR_NONE
 #define INADDR_NONE 0xffffffff
 #endif