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) --- getabook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'getabook.c') diff --git a/getabook.c b/getabook.c index 5f85143..6f7d2fd 100644 --- a/getabook.c +++ b/getabook.c @@ -16,7 +16,7 @@ " otherwise, all available pages will be downloaded\n" #define USESSL 0 -#define URLMAX 1024 +#define URLMAX 2048 #define STRMAX 1024 #define MAXPAGES 9999 -- cgit v1.2.3