diff options
-rw-r--r-- | hittpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hittpd.c b/hittpd.c index 33826f1..122d28d 100644 --- a/hittpd.c +++ b/hittpd.c @@ -356,7 +356,7 @@ send_dir_redirect(http_parser *p) snprintf(headers, sizeof headers, "Location: %s/\r\n", data->path); send_response(p, 301, "Moved Permanently", headers, - "301 Moved Permanently"); + "301 Moved Permanently\r\n"); } void |