projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c6a8c0
)
* preinit the serverbuffer, so we don't get unexpected results later
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 14 Sep 2008 21:40:25 +0000
(21:40 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 14 Sep 2008 21:40:25 +0000
(21:40 +0000)
webcit/roomops.c
patch
|
blob
|
history
diff --git
a/webcit/roomops.c
b/webcit/roomops.c
index e88f2db1acc4551a2b01aee6323f9ec686dd5b42..5869173a55153f2eb5b36fda03122cf4215dc193 100644
(file)
--- a/
webcit/roomops.c
+++ b/
webcit/roomops.c
@@
-452,6
+452,8
@@
void embed_room_banner(char *got, int navbar_style) {
* If it isn't supplied, we fake it by issuing our own GOTO.
*/
if (got == NULL) {
+ memset(buf, 20, '0');
+ buf[20] = '\0';
serv_printf("GOTO %s", WC->wc_roomname);
serv_getln(buf, sizeof buf);
got = buf;