* comparison was wrong, thanks sam.
authorWilfried Göesgens <willi@citadel.org>
Sun, 14 Jun 2009 20:37:03 +0000 (20:37 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 14 Jun 2009 20:37:03 +0000 (20:37 +0000)
webcit/messages.c

index d41ba14e1fbd5c36085903195ee96180f413dfb4..0b649b49b55cc6d991f64f2b52378d6726ca8057 100644 (file)
@@ -1366,7 +1366,7 @@ void post_message(void)
                        /** temporarily change to the drafts room */
                        serv_puts("GOTO _DRAFTS_");
                        StrBuf_ServGetln(Buf);
-                       if (GetServerStatus(Buf, NULL) == 2) {
+                       if (GetServerStatus(Buf, NULL) != 2) {
                                /* You probably don't even have a dumb Drafts folder */
                                StrBufCutLeft(Buf, 4);
                                lprintf(9, "%s:%d: server save to drafts error: %s\n", __FILE__, __LINE__, ChrPtr(Buf));