diff options
Diffstat (limited to 'cgitcgi/fatal.c')
| -rw-r--r-- | cgitcgi/fatal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cgitcgi/fatal.c b/cgitcgi/fatal.c index 3a2f72f..4c3318e 100644 --- a/cgitcgi/fatal.c +++ b/cgitcgi/fatal.c @@ -34,7 +34,7 @@ void fatal( const char *fmt, ... ) { va_list arg_ptr; char buf[HTTP_ERRMSG_SIZE]; - char msg[HTTP_ERRMSG_SIZE]; + char msg[HTTP_ERRMSG_SIZE-16]; char *format = "%s: %s\n"; va_start( arg_ptr, fmt ); @@ -56,7 +56,7 @@ void fatal_json( const char *fmt, ... ) char resp[HTTP_ERRMSG_SIZE]; char json[HTTP_ERRMSG_SIZE]; - char msg[HTTP_ERRMSG_SIZE]; + char msg[HTTP_ERRMSG_SIZE-80]; char *http_format = "Status: 500 Internal Server Error\n" "Date: %s\n" @@ -87,7 +87,7 @@ void fatal_html( const char *fmt, ... ) char resp[HTTP_ERRMSG_SIZE]; char html[HTTP_ERRMSG_SIZE]; - char msg[HTTP_ERRMSG_SIZE]; + char msg[HTTP_ERRMSG_SIZE-2048]; char *http_format = "Status: 500 Internal Server Error\n" "Date: %s\n" |
