commit 3c7d7a451ed270628b56e31a7973b637aff65caf Author: Oswald Buddenhagen <o...@kde.org> AuthorDate: Sat Mar 30 16:43:21 2013 +0100 Commit: Oswald Buddenhagen <o...@users.sf.net> CommitDate: Sat Mar 30 16:46:18 2013 +0100
remove pointless null check each copied message is associated with a sync record. if this wasn't so, we'd crash a few lines further down. src/sync.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/sync.c b/src/sync.c index ed71801..220399f 100644 --- a/src/sync.c +++ b/src/sync.c @@ -1386,7 +1386,7 @@ msg_copied( int sts, int uid, copy_vars_t *vars ) SVARS_CHECK_CANCEL_RET; switch (sts) { case SYNC_OK: - if (uid < 0 && vars->srec) + if (uid < 0) svars->state[t] |= S_FIND; msg_copied_p2( svars, vars->srec, t, vars->msg, uid ); break; ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel