CVS commit by ossi: cosmetics: move around variable declarations and remove obsolete comment
M +1 -6 sync.c 1.67 --- isync/src/sync.c #1.66:1.67 @@ -189,5 +189,5 @@ sync_boxes( store_t *ctx[], const char * int nom, nos, del[2], ex[2]; int muidval, suidval, smaxxuid, maxuid[2], minwuid, maxwuid; - int t1, t2, t3, t; + int t1, t2, t3, t, uid, nmsgs; int lfd, ret, line, sline, todel, delt, *mexcs, nmexcs, rmexcs; unsigned char nflags; @@ -602,6 +602,4 @@ sync_boxes( store_t *ctx[], const char * osrecadd = srecadd; for (t = 0; t < 2; t++) { - int nmsgs, uid; - for (nmsgs = 0, tmsg = ctx[1-t]->msgs; tmsg; tmsg = tmsg->next) if (tmsg->srec ? tmsg->srec->uid[t] < 0 && (chan->ops[t] & OP_RENEW) : (chan->ops[t] & OP_NEW)) { @@ -815,7 +813,4 @@ sync_boxes( store_t *ctx[], const char * } - /* Doing CLOSE here instead of EXPUNGE above saves network traffic. - But it costs more server power for single-file formats. And it - makes disk-full/quota-exceeded more probable. */ for (t = 0; t < 2; t++) { ex[t] = 0; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel