increased slug array size - fiche - A pastebin adjusted for gopher use | |
git clone git://vernunftzentrum.de/fiche.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 32dbdfe86f42b79b32c068a74ae092d8a98206b9 | |
parent c23aee0900e15be512d525fc72339bb85f397521 | |
Author: solusipse <[email protected]> | |
Date: Wed, 18 Sep 2013 01:02:00 +0200 | |
increased slug array size | |
Diffstat: | |
fiche.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/fiche.c b/fiche.c | |
@@ -84,7 +84,7 @@ void *thread_connection(void *args) | |
if (status != -1) | |
{ | |
- char slug[SLUG_SIZE+1]; | |
+ char slug[SLUG_SIZE+8]; | |
generate_url(buffer, slug, SLUG_SIZE+1); | |
save_log(slug, data.ip_address, data.hostname); | |
char response[strlen(slug) + strlen(DOMAIN) + 2]; |