commit: | 49e79f4aad86d67e8b1eda877f8ee604f3c0a384 |
author: | Chip Black |
committer: | Chip Black |
date: | Fri Mar 28 21:33:30 2014 -0500 |
parents: | 445d414dca855f352a798fbfd77ad998d938aed4 |
diff --git a/cgi/canned_responses.c b/cgi/canned_responses.c line changes: +1/-1 index 3b09913..b1da932 --- a/cgi/canned_responses.c +++ b/cgi/canned_responses.c
@@ -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); }
diff --git a/cgi/canned_responses.h b/cgi/canned_responses.h line changes: +1/-1 index 9ae878d..aba5803 --- a/cgi/canned_responses.h +++ b/cgi/canned_responses.h
@@ -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();