Changed the order of the msgcode enum so that new items now get added
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index ea8667c..d60f06a 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -120,10 +120,10 @@ enum logcode { FERROR=1, FINFO=2, FLOG=3 };
 /* Messages types that are sent over the message channel.  The logcode
  * values must all be present here with identical numbers. */
 enum msgcode {
-       MSG_DATA=0,     /* raw data on the multiplexed stream */
-       MSG_ERROR=FERROR, MSG_INFO=FINFO, MSG_LOG=FLOG, /* remote logging */
+       MSG_DONE=5,     /* current phase is done */
        MSG_REDO=4,     /* reprocess indicated flist index */
-       MSG_DONE=5      /* current phase is done */
+       MSG_ERROR=FERROR, MSG_INFO=FINFO, MSG_LOG=FLOG, /* remote logging */
+       MSG_DATA=0      /* raw data on the multiplexed stream */
 };
 
 #include "errcode.h"