projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f9df9
)
* The code which loads expire policies had been incompletely ported to strbuf, causin...
author
Art Cancro
<ajc@citadel.org>
Sat, 31 Jan 2009 05:09:04 +0000
(
05:09
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sat, 31 Jan 2009 05:09:04 +0000
(
05:09
+0000)
webcit/siteconfig.c
patch
|
blob
|
history
diff --git
a/webcit/siteconfig.c
b/webcit/siteconfig.c
index 709693e59f20535e8b2d502e658c60d307720716..01824a592807332b12d1b8e0dd466f48727644e7 100644
(file)
--- a/
webcit/siteconfig.c
+++ b/
webcit/siteconfig.c
@@
-175,8
+175,8
@@
void load_siteconfig(void)
}
serv_puts("GPEX mailboxes");
-
serv_getln(buf, sizeof b
uf);
- if (
buf[0] == '2'
) {
+
StrBuf_ServGetln(B
uf);
+ if (
GetServerStatus(Buf, NULL) == 2
) {
StrBufCutLeft(Buf, 4);
CfgToken = NewStrBuf();
@@
-187,6
+187,7
@@
void load_siteconfig(void)
StrBufExtract_token(CfgToken, Buf, 1, '|');
Put(Cfg, HKEY("mboxvalue"), CfgToken, HFreeStrBuf);
}
+ FreeStrBuf(&Buf);
}