diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-22 02:05:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-22 02:06:26 +0300 |
commit | dd8699688fc642e5a99cc58948620cc096aa74b3 (patch) | |
tree | 5d7b2930d803392ed8866c267769facc2e7f20ad /src/net/download.h | |
parent | 8cf5ceb926d98b9e3b06ef96a9e543cf522f40dd (diff) | |
download | plus-dd8699688fc642e5a99cc58948620cc096aa74b3.tar.gz plus-dd8699688fc642e5a99cc58948620cc096aa74b3.tar.bz2 plus-dd8699688fc642e5a99cc58948620cc096aa74b3.tar.xz plus-dd8699688fc642e5a99cc58948620cc096aa74b3.zip |
Log libcurl errors into manaplus.log
Diffstat (limited to 'src/net/download.h')
-rw-r--r-- | src/net/download.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/download.h b/src/net/download.h index c70118987..5b736d58d 100644 --- a/src/net/download.h +++ b/src/net/download.h @@ -106,6 +106,8 @@ class Download final static void addHeaders(CURL *const curl); + static void addCommonFlags(CURL *const curl); + static unsigned long adlerBuffer(const char *const buffer, int size); static std::string getUploadResponse() |