Created stub for REPORT method
[citadel.git] / webcit / netconf.c
index a426217114c97cd6dbae6527f88e7f384e9c3ae2..caecca46f42681401be6e724d4067d40fd0a8864 100644 (file)
@@ -79,7 +79,6 @@ HashList *load_netconf(StrBuf *Target, WCTemplputParams *TP)
        char nnn[64];
        char buf[SIZ];
        int nUsed;
-       long len;
        NodeConf *Node;
 
        serv_puts("CONF getsys|application/x-citadel-ignet-config");
@@ -88,7 +87,7 @@ HashList *load_netconf(StrBuf *Target, WCTemplputParams *TP)
                Hash = NewHash(1, NULL);
 
                Buf = NewStrBuf();
-               while (len = StrBuf_ServGetln(Buf), strcmp(ChrPtr(Buf), "000")) {
+               while (StrBuf_ServGetln(Buf), strcmp(ChrPtr(Buf), "000")) {
                        Node = NewNode(Buf);
                        if (Node != NULL) {
                                nUsed = GetCount(Hash);