diff options
Diffstat (limited to 'protocols/Icq10/src/http.h')
-rw-r--r-- | protocols/Icq10/src/http.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Icq10/src/http.h b/protocols/Icq10/src/http.h index 374836ad7c..d5173404b7 100644 --- a/protocols/Icq10/src/http.h +++ b/protocols/Icq10/src/http.h @@ -19,7 +19,7 @@ struct AsyncHttpRequest : public MTHttpRequest<CIcqProto> class JsonReply { JSONNode *m_root = nullptr; - int m_errorCode = 0; + int m_errorCode = 0, m_detailCode = 0; JSONNode* m_data = nullptr; public: @@ -28,4 +28,5 @@ public: __forceinline JSONNode& data() const { return *m_data; } __forceinline int error() const { return m_errorCode; } + __forceinline int detail() const { return m_detailCode; } }; |