projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the right strlen to output floor+roomnames via imap
[citadel.git]
/
citadel
/
modules
/
imap
/
imap_tools.c
diff --git
a/citadel/modules/imap/imap_tools.c
b/citadel/modules/imap/imap_tools.c
index e32320d000beabe5286d46f08e4e256b7b8454a4..5b3e5e752bb485f012fb706e1e9770669d6f3f67 100644
(file)
--- a/
citadel/modules/imap/imap_tools.c
+++ b/
citadel/modules/imap/imap_tools.c
@@
-576,7
+576,7
@@
long imap_mailboxname(char *buf, int bufsize, struct ctdlroom *qrbuf)
if (p < bufend)
*p++ = '/';
pend = toimap(p, bufend, qrbuf->QRname+11);
- return pend -
p
;
+ return pend -
buf
;
}
}
else