Introduction
Introduction Statistics Contact Development Disclaimer Help
increased slug array size - fiche - A pastebin adjusted for gopher use
git clone git://vernunftzentrum.de/fiche.git
Log
Files
Refs
LICENSE
---
commit eabb2f5b97b56cb29dfee1096d906be25af54cad
parent 32dbdfe86f42b79b32c068a74ae092d8a98206b9
Author: solusipse <[email protected]>
Date: Wed, 18 Sep 2013 01:10:50 +0200
increased slug array size
Diffstat:
fiche.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fiche.c b/fiche.c
@@ -85,7 +85,7 @@ void *thread_connection(void *args)
if (status != -1)
{
char slug[SLUG_SIZE+8];
- generate_url(buffer, slug, SLUG_SIZE+1);
+ generate_url(buffer, slug, SLUG_SIZE+8);
save_log(slug, data.ip_address, data.hostname);
char response[strlen(slug) + strlen(DOMAIN) + 2];
snprintf(response, sizeof response, "%s%s\n", DOMAIN, slug);
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.