projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renderers cleanup part 1
[citadel.git]
/
webcit
/
useredit.c
diff --git
a/webcit/useredit.c
b/webcit/useredit.c
index af6a022760fe7e9400ac3580b535244961d47698..a6b4d4b44df152eb836e8acc4d06ee6a04e4cb2a 100644
(file)
--- a/
webcit/useredit.c
+++ b/
webcit/useredit.c
@@
-289,7
+289,7
@@
HashList *iterate_load_userlist(StrBuf *Target, WCTemplputParams *TP)
StrBuf_ServGetln(Buf);
if (GetServerStatus(Buf, NULL) == 1) {
Hash = NewHash(1, Flathash);
StrBuf_ServGetln(Buf);
if (GetServerStatus(Buf, NULL) == 1) {
Hash = NewHash(1, Flathash);
-
+ Done = 0;
while (!Done) {
len = StrBuf_ServGetln(Buf);
if ((len <0) ||
while (!Done) {
len = StrBuf_ServGetln(Buf);
if ((len <0) ||
@@
-308,14
+308,15
@@
HashList *iterate_load_userlist(StrBuf *Target, WCTemplputParams *TP)
serv_puts("LBIO 1");
StrBuf_ServGetln(Buf);
serv_puts("LBIO 1");
StrBuf_ServGetln(Buf);
- if (GetServerStatus(Buf, NULL) == 1)
+ if (GetServerStatus(Buf, NULL) == 1)
{
Done = 0;
while (!Done) {
Done = 0;
while (!Done) {
- len = StrBuf_ServGetln(Buf);
- if ((len <0) || ((len == 3) && !strcmp(ChrPtr(Buf), "000")))
- {
- Done = 1;
- break;
+ len = StrBuf_ServGetln(Buf);
+ if ((len <0) || ((len == 3) && !strcmp(ChrPtr(Buf), "000")))
+ {
+ Done = 1;
+ break;
+ }
}
UID = atoi(ChrPtr(Buf));
if (GetHash(Hash, IKEY(UID), &vData) && vData != 0)
}
UID = atoi(ChrPtr(Buf));
if (GetHash(Hash, IKEY(UID), &vData) && vData != 0)