From 4c18bf69e2816729b8bbdfe45b923ffa41565f18 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 16 Dec 2017 15:40:59 -0500 Subject: Fixed deadlock after failed image download --- grunge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grunge.cpp b/grunge.cpp index af5da13..251be99 100644 --- a/grunge.cpp +++ b/grunge.cpp @@ -219,7 +219,7 @@ Magick::Image grunge::getImageForNoun(verbly::word pictured) 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