increased slug array size - fiche - A pastebin adjusted for gopher use
(HTM) git clone git://vernunftzentrum.de/fiche.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 32dbdfe86f42b79b32c068a74ae092d8a98206b9
(DIR) parent c23aee0900e15be512d525fc72339bb85f397521
(HTM) Author: solusipse <solus1ps3@gmail.com>
Date: Wed, 18 Sep 2013 01:02:00 +0200
increased slug array size
Diffstat:
fiche.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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];