summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-12-16 15:40:59 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-12-16 15:40:59 -0500
commit4c18bf69e2816729b8bbdfe45b923ffa41565f18 (patch)
treefa268ca4cd6778523715c54fa1b228ae6b87dba2
parentc9133b258f26951b34d278d86935273680c6ff36 (diff)
downloadgrunge-4c18bf69e2816729b8bbdfe45b923ffa41565f18.tar.gz
grunge-4c18bf69e2816729b8bbdfe45b923ffa41565f18.tar.bz2
grunge-4c18bf69e2816729b8bbdfe45b923ffa41565f18.zip
Fixed deadlock after failed image download
-rw-r--r--grunge.cpp2
1 files changed, 1 insertions, 1 deletions
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
219 try 219 try
220 { 220 {
221 imghandle.perform(); 221 imghandle.perform();
222 } catch (curl::curl_easy_exception error) { 222 } catch (const curl::curl_easy_exception& error) {
223 error.print_traceback(); 223 error.print_traceback();
224 224
225 continue; 225 continue;