From b12a319ebb5a33d9a28d8e08ddb622f43a0593c3 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Wed, 12 Oct 2016 15:28:50 -0500 Subject: [PATCH] Consider STRINGPOINT as string_options URL changed from being an OBJECT to being a STRINGPOINT so when building URL was being thrown as an invalid option. This resolves that but has left me with a segfault :-/ --- src/generate_curl_options_list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generate_curl_options_list.sh b/src/generate_curl_options_list.sh index 616e4dd..c1a84c4 100755 --- a/src/generate_curl_options_list.sh +++ b/src/generate_curl_options_list.sh @@ -30,7 +30,7 @@ generate() { ) > $root/$name.h } generate integer_options 'CINIT\((\w+).*LONG' OPT -generate string_options 'CINIT\((\w+).*OBJECT' OPT +generate string_options 'CINIT\((\w+).*(STRINGPOINT|OBJECT)' OPT generate integer_infos 'CURLINFO_(\w+).*LONG' INFO generate string_infos 'CURLINFO_(\w+).*STRING' INFO