commit d771d7bdfd3953a18e40734cd83a207b133a18c5
parent 49ea4c7ccd736ed5cc42b7cb0075a5feebf2ca25
Author: Renaud Allard <renaud@allard.it>
Date: Thu, 27 Aug 2015 14:36:36 +0200
parent 49ea4c7ccd736ed5cc42b7cb0075a5feebf2ca25
Author: Renaud Allard <renaud@allard.it>
Date: Thu, 27 Aug 2015 14:36:36 +0200
Decrease the likeliness of name collisions
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fiche.h b/fiche.h @@ -50,13 +50,13 @@ char *BANFILE; char *WHITEFILE; char *WHITELIST; int PORT = 9999; -int SLUG_SIZE = 4; +int SLUG_SIZE = 8; int BUFSIZE = 32768; int QUEUE_SIZE = 500; char DOMAIN[128] = "http://localhost/"; unsigned int time_seed; -const char *symbols = "abcdefghijklmnopqrstuvwxyz0123456789"; +const char *symbols = "abcdefghijklmnopqrstuvwxyz0123456789-+_=.ABCDEFGHIJKLMNOPQRSTUVWXYZ"; struct thread_arguments {
: nply/fiche2