diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-16 15:36:13 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-16 15:36:13 -0500 |
commit | 55ebfbba1f24e1b3e2e7efa7defa14897eab1c64 (patch) | |
tree | f088760b3dadc28ef09bfa133a6281947e893a6e /capital.cpp | |
parent | 00844663169a3aebaddd97b1d6a24364aaf47b2b (diff) | |
download | capital-55ebfbba1f24e1b3e2e7efa7defa14897eab1c64.tar.gz capital-55ebfbba1f24e1b3e2e7efa7defa14897eab1c64.tar.bz2 capital-55ebfbba1f24e1b3e2e7efa7defa14897eab1c64.zip |
Fixed deadlock after failed image download
Diffstat (limited to 'capital.cpp')
-rw-r--r-- | capital.cpp | 2 |
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; |