diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-01 19:29:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-01 19:29:26 +0300 |
commit | 128341ef85a0f9daef7dce3653adf1011f3e6e06 (patch) | |
tree | 479b9ab1af161a2e8289f31eb5e874a6c35ddcdc /protocols/ICQ-WIM/src/http.cpp | |
parent | 70b77d0c25f8138e30d78d3af7966711cff3b375 (diff) |
ICQ-WIM: code cleaning & optimization
Diffstat (limited to 'protocols/ICQ-WIM/src/http.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/http.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/http.cpp b/protocols/ICQ-WIM/src/http.cpp index e31cc46fe8..47929fbc69 100644 --- a/protocols/ICQ-WIM/src/http.cpp +++ b/protocols/ICQ-WIM/src/http.cpp @@ -234,6 +234,15 @@ void CIcqProto::Push(MHttpRequest *p) ///////////////////////////////////////////////////////////////////////////////////////// +AsyncHttpRequest* operator<<(AsyncHttpRequest *pReq, const AIMSID ¶m) +{ + pReq << CHAR_PARAM("f", "json") << CHAR_PARAM("aimsid", param.m_ppro->m_aimsid) << CHAR_PARAM("r", pReq->m_reqId); + pReq->flags |= NLHRF_NODUMPSEND; + return pReq; +} + +///////////////////////////////////////////////////////////////////////////////////////// + JsonReply::JsonReply(NETLIBHTTPREQUEST *pReply) { if (pReply == nullptr) { |