projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6488d56
)
! create strbufs before accessing them
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 3 Feb 2009 23:13:59 +0000
(23:13 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 3 Feb 2009 23:13:59 +0000
(23:13 +0000)
webcit/roomops.c
patch
|
blob
|
history
diff --git
a/webcit/roomops.c
b/webcit/roomops.c
index 7b3a39617d7e286bd691e6f7e36a7e2dfe16e15e..40c8a3aab830febbbbacd8feaa5b961b97402053 100644
(file)
--- a/
webcit/roomops.c
+++ b/
webcit/roomops.c
@@
-2148,6
+2148,12
@@
void editroom(void)
FreeStrBuf(&Buf);
return;
}
+
+ er_name = NewStrBuf();
+ er_password = NewStrBuf();
+ er_dirname = NewStrBuf();
+ er_roomaide = NewStrBuf();
+
StrBufCutLeft(Buf, 4);
StrBufExtract_token(er_name, Buf, 0, '|');
StrBufExtract_token(er_password, Buf, 1, '|');