From cde719f49f9152b7fa746759b59e331f93d579a2 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 8 May 2004 18:48:09 +0000 Subject: [PATCH] Changed the order of the msgcode enum so that new items now get added at the start (which avoids the need for trailing-comma changes on old entries when new ones are added). --- rsync.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rsync.h b/rsync.h index ea8667c2..d60f06ae 100644 --- 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" -- 2.34.1