]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
* swap I/O to the new functions
[citadel.git] / webcit / webcit.c
index ad2d501f96aef251ed9c6bb0719b9876a5e9c16e..03877576df770f2e97142bbe2f03e34ae4c4ca69 100644 (file)
@@ -283,7 +283,7 @@ void print_menu_box(char* Title, char *Class, int nLines, ...)
 /*
  * dump out static pages from disk
  */
-void output_static(char *what)
+void output_static(const char *what)
 {
        int fd;
        struct stat statbuf;
@@ -346,7 +346,7 @@ void output_static(char *what)
  * titlebarmsg         text to display in the title bar
  * messagetext         body of the box
  */
-void convenience_page(char *titlebarcolor, char *titlebarmsg, char *messagetext)
+void convenience_page(const char *titlebarcolor, const char *titlebarmsg, const char *messagetext)
 {
        hprintf("HTTP/1.1 200 OK\n");
        output_headers(1, 1, 2, 0, 0, 0);