From d3024988297aebb847d98f1911c1d99c9c9c0285 Mon Sep 17 00:00:00 2001 From: Paul Wessel Date: Thu, 30 Jul 2020 07:55:41 -1000 Subject: [PATCH] Checked wrong string for URL Hopefully fixes #3765. --- src/gmt_remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmt_remote.c b/src/gmt_remote.c index 5d2a4c8d3b9..3d26ec47357 100644 --- a/src/gmt_remote.c +++ b/src/gmt_remote.c @@ -520,7 +520,7 @@ GMT_LOCAL size_t gmtremote_skip_large_files (struct GMT_CTRL *GMT, char * URL, s #define GMT_HASH_TIME_OUT 10L /* Not waiting longer than this to time out on getting the hash file */ GMT_LOCAL int gmtremote_get_url (struct GMT_CTRL *GMT, char *url, char *file, char *orig, unsigned int index) { - bool query = gmt_M_file_is_query (file); + bool query = gmt_M_file_is_query (url); int curl_err = 0; long time_spent; char *Lfile = NULL;