diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-16 15:50:33 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-12-16 15:50:33 -0500 |
commit | acba5923a5a4df59239a9b33d2b280709fafa9ae (patch) | |
tree | d3b8de7e4f2b1c7b71f6d4c8ab11e546c4f6e795 | |
parent | 9d89ea2b9413da110b8cdbcf796deb823cf487bb (diff) | |
download | advice-acba5923a5a4df59239a9b33d2b280709fafa9ae.tar.gz advice-acba5923a5a4df59239a9b33d2b280709fafa9ae.tar.bz2 advice-acba5923a5a4df59239a9b33d2b280709fafa9ae.zip |
Fixed deadlock after failed image download
-rw-r--r-- | advice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advice.cpp b/advice.cpp index dd94d84..ab16571 100644 --- a/advice.cpp +++ b/advice.cpp | |||
@@ -162,7 +162,7 @@ void advice::run() const | |||
162 | try | 162 | try |
163 | { | 163 | { |
164 | imghandle.perform(); | 164 | imghandle.perform(); |
165 | } catch (curl::curl_easy_exception error) { | 165 | } catch (const curl::curl_easy_exception& error) { |
166 | error.print_traceback(); | 166 | error.print_traceback(); |
167 | 167 | ||
168 | continue; | 168 | continue; |