* Fixed a condition in CtdlSetSeen() where the final message in the list could not...
authorArt Cancro <ajc@citadel.org>
Thu, 10 Sep 2009 20:14:33 +0000 (20:14 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 10 Sep 2009 20:14:33 +0000 (20:14 +0000)
citadel/msgbase.c

index 68a0c4114169139e2db8d3c44a3681a107a0f093..7b4873cee126a5ee59332e3f4c5e958416357fc7 100644 (file)
@@ -484,7 +484,8 @@ void CtdlSetSeen(long *target_msgnums, int num_target_msgnums,
                                StrBufAppendPrintf(vset, "%ld:%ld", lo, hi);
                        }
                }
-               else if ((is_seen) && (i == num_msgs - 1)) {
+
+               if ((is_seen) && (i == num_msgs - 1)) {
                        if (StrLength(vset) > 0) {
                                StrBufAppendBufPlain(vset, HKEY(","), 0);
                        }