CVS commit by ossi: 

remove superfluous temporary rflags from sync_boxes


  M +2 -3      sync.c   1.61


--- isync/src/sync.c  #1.60:1.61
@@ -670,5 +670,5 @@ sync_boxes( store_t *ctx[], const char *
                        for (t = 0; t < 2; t++) {
                                int unex;
-                               unsigned char sflags, aflags, dflags, rflags;
+                               unsigned char sflags, aflags, dflags;
 
                                /* excludes (push) c.3) d.2) d.3) d.4) / (pull) 
b.3) d.7) d.8) d.9) */
@@ -726,5 +726,4 @@ sync_boxes( store_t *ctx[], const char *
                                                        dflags = 0;
                                                }
-                                               rflags = (nflags | aflags) & 
~dflags;
                                                switch ((aflags | dflags) ? 
driver[t]->set_flags( ctx[t], srec->msg[t], srec->uid[t], aflags, dflags ) : 
DRV_OK) {
                                                case DRV_STORE_BAD: ret = 
SYNC_BAD(t); goto finish;
@@ -732,5 +731,5 @@ sync_boxes( store_t *ctx[], const char *
                                                default: /* ok */ break;
                                                case DRV_OK:
-                                                       nflags = rflags;
+                                                       nflags = (nflags | 
aflags) & ~dflags;
                                                        if (unex) {
                                                                debug( 
"unexpiring pair(%d,%d)\n", srec->uid[M], srec->uid[S] );




-------------------------------------------------------
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

Reply via email to