瀏覽代碼

micro-optimization/-clarification: swap condition order

Oswald Buddenhagen 11 年之前
父節點
當前提交
9a62521cff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/sync.c

+ 1 - 1
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;
 						}