More type fixing
authorChip Black <bytex64@bytex64.net>
Sat, 29 Mar 2014 02:33:30 +0000 (21:33 -0500)
committerChip Black <bytex64@bytex64.net>
Sat, 29 Mar 2014 03:56:25 +0000 (22:56 -0500)
cgi/canned_responses.c
cgi/canned_responses.h

index 3b09913..b1da932 100644 (file)
@@ -6,7 +6,7 @@
 #include "canned_responses.h"
 #include "app.h"
 
-void respond_simple_data(unsigned const char *data, int len) {
+void respond_simple_data(const char *data, int len) {
        printf("Content-length: %d\r\n\r\n", len);
        fwrite(data, len, 1, stdout);
 }
index 9ae878d..aba5803 100644 (file)
@@ -4,7 +4,7 @@
 #ifndef _CANNED_RESPONSES
 #define _CANNED_RESPONSES
 
-void respond_simple_data(unsigned const char *data, int len);
+void respond_simple_data(const char *data, int len);
 void respond_403();
 void respond_404();
 void respond_405();