From 9bce8ec0d696059a94f7fb4a8e6a12a647c19dde Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sun, 28 Mar 2021 20:57:22 +0100 Subject: [PATCH] fix whitespace: convert tabs to the annoying spaces used in tp --- src/reqs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reqs.c b/src/reqs.c index 90ab529..61a5eb0 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -389,8 +389,8 @@ BAD_REQUEST_ERROR: if (reverse_url != NULL) { if (reverse_status == 301) { - char buf[PATH_MAX]; - snprintf(buf, sizeof buf, "Location: %s\r\n", reverse_url); + char buf[PATH_MAX]; + snprintf (buf, sizeof buf, "Location: %s\r\n", reverse_url); send_http_headers (connptr, 301, "Moved Permanently", buf); goto fail; }