commit 9a62521cff661b40c3d05bd60b3630d469c93736
Author: Oswald Buddenhagen <[email protected]>
Date: Sun Nov 24 19:50:46 2013 +0100
micro-optimization/-clarification: swap condition order
src/sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sync.c b/src/sync.c
index 0cf6d89..d6ad61d 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -1333,7 +1333,7 @@ box_loaded( int sts, void *aux )
/* a) & b.3) / c.3) */
if (svars->chan->ops[t] & OP_FLAGS) {
sflags = srec->msg[1-t]->flags;
- if ((srec->status &
(S_EXPIRE|S_EXPIRED)) && (t == M)) {
+ if ((t == M) && (srec->status &
(S_EXPIRE|S_EXPIRED))) {
/* Don't propagate
deletion resulting from expiration. */
sflags &= ~F_DELETED;
}
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel