projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f601986
)
* rename another buf
author
Wilfried Göesgens
<willi@citadel.org>
Sat, 20 Mar 2010 11:01:13 +0000
(11:01 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sat, 20 Mar 2010 11:01:13 +0000
(11:01 +0000)
citadel/modules/imap/serv_imap.c
patch
|
blob
|
history
diff --git
a/citadel/modules/imap/serv_imap.c
b/citadel/modules/imap/serv_imap.c
index 3bd31dc7caab020966c0823008f4c2012e9f7e4a..a78d648a3b9b642d8b15862dae5355551390ddce 100644
(file)
--- a/
citadel/modules/imap/serv_imap.c
+++ b/
citadel/modules/imap/serv_imap.c
@@
-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;
}