summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-12-16 15:36:13 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-12-16 15:36:13 -0500
commit55ebfbba1f24e1b3e2e7efa7defa14897eab1c64 (patch)
treef088760b3dadc28ef09bfa133a6281947e893a6e
parent00844663169a3aebaddd97b1d6a24364aaf47b2b (diff)
downloadcapital-55ebfbba1f24e1b3e2e7efa7defa14897eab1c64.tar.gz
capital-55ebfbba1f24e1b3e2e7efa7defa14897eab1c64.tar.bz2
capital-55ebfbba1f24e1b3e2e7efa7defa14897eab1c64.zip
Fixed deadlock after failed image download
-rw-r--r--capital.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/capital.cpp b/capital.cpp index 1e23ba4..3488c1d 100644 --- a/capital.cpp +++ b/capital.cpp
@@ -190,7 +190,7 @@ Magick::Image capital::getImageForNoun(verbly::word pictured) const
190 try 190 try
191 { 191 {
192 imghandle.perform(); 192 imghandle.perform();
193 } catch (curl::curl_easy_exception error) { 193 } catch (const curl::curl_easy_exception& error) {
194 error.print_traceback(); 194 error.print_traceback();
195 195
196 continue; 196 continue;