* rename another buf
authorWilfried Göesgens <willi@citadel.org>
Sat, 20 Mar 2010 11:01:13 +0000 (11:01 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 20 Mar 2010 11:01:13 +0000 (11:01 +0000)
citadel/modules/imap/serv_imap.c

index 3bd31dc7caab020966c0823008f4c2012e9f7e4a..a78d648a3b9b642d8b15862dae5355551390ddce 100644 (file)
@@ -888,7 +888,7 @@ void imap_namespace(int num_parms, ConstStr *Params)
        int i;
        struct floor *fl;
        int floors = 0;
-       char buf[SIZ];
+       char Namespace[SIZ];
 
        cprintf("* NAMESPACE ");
 
@@ -905,8 +905,8 @@ void imap_namespace(int num_parms, ConstStr *Params)
                if (fl->f_flags & F_INUSE) {
                        if (floors > 0) cprintf(" ");
                        cprintf("(");
-                       snprintf(buf, sizeof(buf), "%s/", fl->f_name);
-                       plain_imap_strout(buf);
+                       snprintf(Namespace, sizeof(Namespace), "%s/", fl->f_name);
+                       plain_imap_strout(Namespace);
                        cprintf(" \"/\")");
                        ++floors;
                }