diff options
Diffstat (limited to 'backends/networking/curl/networkreadstream.h')
-rw-r--r-- | backends/networking/curl/networkreadstream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/networking/curl/networkreadstream.h b/backends/networking/curl/networkreadstream.h index 7d19286f85..468fce70a4 100644 --- a/backends/networking/curl/networkreadstream.h +++ b/backends/networking/curl/networkreadstream.h @@ -38,6 +38,7 @@ class NetworkReadStream: public Common::ReadStream { CURL *_easy; Common::MemoryReadWriteStream _backingStream; bool _eos, _requestComplete; + char *_errorBuffer; const byte *_sendingContentsBuffer; uint32 _sendingContentsSize; uint32 _sendingContentsPos; @@ -111,7 +112,7 @@ public: * * @note It's called on failure too. */ - void finished(); + void finished(uint32 errorCode); /** * Returns HTTP response code from inner CURL handle. |