From acba5923a5a4df59239a9b33d2b280709fafa9ae Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 16 Dec 2017 15:50:33 -0500 Subject: Fixed deadlock after failed image download --- advice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'advice.cpp') diff --git a/advice.cpp b/advice.cpp index dd94d84..ab16571 100644 --- a/advice.cpp +++ b/advice.cpp @@ -162,7 +162,7 @@ void advice::run() const try { imghandle.perform(); - } catch (curl::curl_easy_exception error) { + } catch (const curl::curl_easy_exception& error) { error.print_traceback(); continue; -- cgit 1.4.1