* iterate_load_userlist() zeroed out the wrong struct; fixed
authorArt Cancro <ajc@citadel.org>
Mon, 19 Jan 2009 15:23:11 +0000 (15:23 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 19 Jan 2009 15:23:11 +0000 (15:23 +0000)
webcit/useredit.c

index 42cac326b67b5ea131418970a09241ee06b87f36..0c758fe9e7e7fdd7d72debecbfcd9eec6ec687bc 100644 (file)
@@ -250,7 +250,7 @@ HashList *iterate_load_userlist(StrBuf *Target, WCTemplputParams *TP)
        int len;
        WCTemplputParams SubTP;
 
-       memset(&TP, 0, sizeof(WCTemplputParams));       
+       memset(&SubTP, 0, sizeof(WCTemplputParams));    
         serv_puts("LIST");
         serv_getln(buf, sizeof buf);
         if (buf[0] == '1') {