]> code.citadel.org Git - citadel.git/commitdiff
* init command buf empty to avoid fancy side effects
authorWilfried Göesgens <willi@citadel.org>
Thu, 20 Mar 2008 09:08:38 +0000 (09:08 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 20 Mar 2008 09:08:38 +0000 (09:08 +0000)
webcit/messages.c

index d12d54e99130a81e1b19abf767c3ad7e61df04e7..8bac3fab7af6c76b19cd2b40ea7a24c73e27634e 100644 (file)
@@ -2220,7 +2220,7 @@ int summcmp_rdate(const void *s1, const void *s2) {
  */
 void readloop(char *oper)
 {
-       char cmd[256];
+       char cmd[256] = "";
        char buf[SIZ];
        char old_msgs[SIZ];
        int a, b;