increased slug array size

This commit is contained in:
solusipse
2013-09-18 01:02:00 +02:00
parent c23aee0900
commit 32dbdfe86f

View File

@@ -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];