diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-16 15:45:38 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-16 15:45:38 -0500 |
commit | beb9de04047af3846bb616bfe4706c642de42602 (patch) | |
tree | 0cda8b9896e366474ad54ca430be633042cd2d22 | |
parent | 1acdcc6f93185eeb26c8372cc347253b6eae6e89 (diff) | |
download | difference-beb9de04047af3846bb616bfe4706c642de42602.tar.gz difference-beb9de04047af3846bb616bfe4706c642de42602.tar.bz2 difference-beb9de04047af3846bb616bfe4706c642de42602.zip |
Fixed deadlock after failed image download
-rw-r--r-- | difference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/difference.cpp b/difference.cpp index 896ded3..9fd3320 100644 --- a/difference.cpp +++ b/difference.cpp | |||
@@ -281,7 +281,7 @@ Magick::Image difference::getImageAtUrl(std::string url) const | |||
281 | try | 281 | try |
282 | { | 282 | { |
283 | imghandle.perform(); | 283 | imghandle.perform(); |
284 | } catch (curl::curl_easy_exception error) { | 284 | } catch (const curl::curl_easy_exception& error) { |
285 | error.print_traceback(); | 285 | error.print_traceback(); |
286 | 286 | ||
287 | throw could_not_get_images(); | 287 | throw could_not_get_images(); |