diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-10 13:21:25 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-10 13:21:25 +0000 |
commit | 75beae890b1f18d5753748f4935731ed93579ef8 (patch) | |
tree | 5cb0461034ec9b19db4b2d928caf79d6746b0974 /protocols/SkypeWeb/src/skype_polling.cpp | |
parent | e0ec38eb49bfd8dcddd4e46cbbca4fed98028b01 (diff) |
flags fix
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13506 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_polling.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp index df80efc787..41ade45ec3 100644 --- a/protocols/SkypeWeb/src/skype_polling.cpp +++ b/protocols/SkypeWeb/src/skype_polling.cpp @@ -14,6 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
#include "stdafx.h"
void CSkypeProto::ParsePollData(JSONNODE *data)
@@ -45,7 +46,7 @@ void CSkypeProto::ParsePollData(JSONNODE *data) else if (!mir_strcmpi(resourceType, "ConversationUpdate"))
{
ProcessConversationUpdateRes(resource);
- }
+ }
else if (!mir_strcmpi(resourceType, "ThreadUpdate"))
{
ProcessThreadUpdateRes(resource);
@@ -85,7 +86,7 @@ void CSkypeProto::PollingThread(void*) }
}
}
- else
+ else
{
errors++;
@@ -104,7 +105,7 @@ void CSkypeProto::PollingThread(void*) delete request;
break;
}
- }
+ }
}
}
@@ -112,7 +113,7 @@ void CSkypeProto::PollingThread(void*) CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response);
delete request;
}
-
+
if (!isTerminated)
{
debugLogA(__FUNCTION__": unexpected termination; switching protocol to offline");
|