summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/ICQ-WIM/src/http.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/http.cpp b/protocols/ICQ-WIM/src/http.cpp
index e0bd34d17a..16c410c333 100644
--- a/protocols/ICQ-WIM/src/http.cpp
+++ b/protocols/ICQ-WIM/src/http.cpp
@@ -153,6 +153,9 @@ void CIcqProto::ExecuteRequest(AsyncHttpRequest *pReq)
return;
}
+ char buf[40];
+ _itoa_s(m_iRClientId, buf, 10);
+ pReq->ReplaceJsonParam("clientId", buf);
pReq->ReplaceJsonParam("authToken", m_szRToken);
pReq->dataLength = pReq->m_szParam.GetLength();
pReq->pData = mir_strdup(pReq->m_szParam);