increase buffer, fix compiler warning (-Wall) - gopherproxy-c - Gopher HTTP pro… | |
git clone git://git.codemadness.org/gopherproxy-c | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2d459eda3db761482486144a07f60a62447fd577 | |
parent 00c13341a4b18c68b1ea0b157c84b840c5f89245 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Mon, 4 Aug 2025 14:41:32 +0200 | |
increase buffer, fix compiler warning (-Wall) | |
Diffstat: | |
M gopherproxy.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/gopherproxy.c b/gopherproxy.c | |
@@ -499,7 +499,7 @@ servedir(const char *server, const char *port, const char *… | |
struct visited v; | |
struct linebuf lb; | |
const char *prefix = ""; | |
- char buf[1024], *uri; | |
+ char buf[2048], *uri; | |
char *line; | |
size_t totalsiz, linenr; | |
ssize_t n; |