From bc0b45f9b156ce4155a98f75ec733d1e4c528d90 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 12 Apr 2024 22:18:49 +0200 Subject: [PATCH] Clean up URL formatting, so clicking on link does not include '. Closes #37 --- minicurl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minicurl.cc b/minicurl.cc index f4fad29..a97f520 100644 --- a/minicurl.cc +++ b/minicurl.cc @@ -144,7 +144,7 @@ std::string MiniCurl::getURL(const std::string& str, const bool nobody, MiniCurl d_host_list = nullptr; } if(res != CURLE_OK) { - throw std::runtime_error("Unable to retrieve URL '"+str+ "': "+string(curl_easy_strerror(res))); + throw std::runtime_error("Unable to retrieve URL "+str+ " - "+string(curl_easy_strerror(res))); } d_filetime=-1;