From f2265c79b7d7460ec91ebf79a891bbe5c689e7c6 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 17 Mar 2020 09:14:36 +0000 Subject: Increase size of memory allocated for url so that bookid cannot be made big enough to cause truncation (thanks to format-truncation warnings from recent gcc for this) --- getgbook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'getgbook.c') diff --git a/getgbook.c b/getgbook.c index 5e36c04..dc9049c 100644 --- a/getgbook.c +++ b/getgbook.c @@ -17,7 +17,7 @@ " otherwise, all available pages will be downloaded\n" #define USESSL 1 -#define URLMAX 1024 +#define URLMAX 2048 #define STRMAX 1024 #define MAXPAGES 9999 #define COOKIENUM 5 -- cgit v1.2.3