diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_polling.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp index 0000de3b20..b850cffb23 100644 --- a/protocols/SkypeWeb/src/skype_polling.cpp +++ b/protocols/SkypeWeb/src/skype_polling.cpp @@ -39,14 +39,14 @@ void CSkypeProto::PollingThread(void *) if (response->resultCode == 200) {
nErrors = 0;
- if (response->pData)
- ParsePollData(response->pData);
+ if (!response->body.IsEmpty())
+ ParsePollData(response->body);
}
else {
nErrors++;
- if (response->pData) {
- JSONNode root = JSONNode::parse(response->pData);
+ if (!response->body.IsEmpty()) {
+ JSONNode root = JSONNode::parse(response->body);
const JSONNode &error = root["errorCode"];
if (error && error.as_int() == 729)
break;
|