: nply/fiche2

commit 32dbdfe86f42b79b32c068a74ae092d8a98206b9
parent c23aee0900e15be512d525fc72339bb85f397521
Author: solusipse <solus1ps3@gmail.com>
Date: Wed, 18 Sep 2013 01:02:00 +0200

increased slug array size
1 file changed, 1 insertion(+), 1 deletion(-)
M
fiche.c
|
2
+-
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];