* correct all GetNextHashPos() calls to have const chars
[citadel.git] / webcit / siteconfig.c
index de3e640debed5661e5e81c32a5905d0030e89174..1a32942eaecb66f947e6e0ca303add2901298224 100644 (file)
@@ -16,6 +16,7 @@ void display_siteconfig(void)
        char buf[SIZ];
        int i, j;
        struct wcsession *WCC = WC;
+       const char *VCZname;
 
        char general[65536];
        char access[SIZ];
@@ -521,7 +522,7 @@ void display_siteconfig(void)
                        }
                        SortByHashKey(List, 0);
                        it = GetNewHashPos();
-                       while (GetNextHashPos(List, it, &len, &ZName, &ZNamee)) {
+                       while (GetNextHashPos(List, it, &len, &VCZname, &ZNamee)) {
                                sprintf(&general[strlen(general)], "<option %s value=\"%s\">%s</option>\n",
                                        (!strcasecmp((char*)ZName, buf) ? "selected" : ""),
                                        ZName, ZName