summaryrefslogtreecommitdiff
path: root/cgitcgi/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgitcgi/http.c')
-rw-r--r--cgitcgi/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgitcgi/http.c b/cgitcgi/http.c
index 18828e2..fc04e29 100644
--- a/cgitcgi/http.c
+++ b/cgitcgi/http.c
@@ -170,7 +170,7 @@ void http_error( const char *fmt, ... )
{
va_list arg_ptr;
char buf[HTTP_ERRMSG_SIZE];
- char msg[HTTP_ERRMSG_SIZE];
+ char msg[HTTP_ERRMSG_SIZE-8];
char *format = "%s: %s\n";
va_start( arg_ptr, fmt );