]> code.citadel.org Git - citadel.git/blobdiff - webcit/siteconfig.c
* added gcc printf format checking to wprintf
[citadel.git] / webcit / siteconfig.c
index a18bbd18e56602a5064b329de0d90d85454e15a0..7a7288dee90c92b874d44dc8f8b3efbfff41a3b2 100644 (file)
@@ -113,7 +113,7 @@ void display_siteconfig(void)
                );
                
        wprintf("<form method=\"post\" action=\"siteconfig\">\n");
-       wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%ld\">\n", WC->nonce);
+       wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC->nonce);
        
        sprintf(&general[strlen(general)], "<tr><td><a href=\"display_edithello\"> %s </a></td>",           _("Change Login Logo"));
        sprintf(&general[strlen(general)],     "<td><a href=\"display_editgoodbuye\"> %s </a></td></tr>\n", _("Change Logout Logo"));