diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-07 19:06:46 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-07 19:06:46 +0000 |
commit | ed2a703b18eb112c9696f638bc65f6c8e14f974e (patch) | |
tree | f49f1a16ee4d17766d374bc6f070dacd2d8f33de /protocols/MSN/src/msn_soapstore.cpp | |
parent | 5d6989883de96e8f0f369dfb8af549963638ac61 (diff) |
MSN:
- Fixed some compiler warnings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14056 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_soapstore.cpp')
-rw-r--r-- | protocols/MSN/src/msn_soapstore.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/protocols/MSN/src/msn_soapstore.cpp b/protocols/MSN/src/msn_soapstore.cpp index 0b5db5c419..8dce12549e 100644 --- a/protocols/MSN/src/msn_soapstore.cpp +++ b/protocols/MSN/src/msn_soapstore.cpp @@ -165,10 +165,9 @@ bool CMsnProto::MSN_StoreShareItem(const char* id, bool allowRecurse) ezxml_free(xmlp);
unsigned status = 0;
- char *storeUrl, *tResult = NULL;
- storeUrl = mir_strdup("https://storage.msn.com/storageservice/SchematizedStore.asmx");
- tResult = getSslResult(&storeUrl, szData, reqHdr, status);
+ char *storeUrl = mir_strdup("https://storage.msn.com/storageservice/SchematizedStore.asmx");
+ char *tResult = getSslResult(&storeUrl, szData, reqHdr, status);
mir_free(reqHdr);
free(szData);
@@ -243,8 +242,10 @@ bool CMsnProto::MSN_StoreGetProfile(bool allowRecurse) mir_free(storeUrl);
storeUrl = GetStoreHost("GetProfile");
tResult = getSslResult(&storeUrl, szData, reqHdr, status);
- if (tResult == NULL) UpdateStoreHost("GetProfile", NULL);
- else break;
+ if (tResult == NULL)
+ UpdateStoreHost("GetProfile", NULL);
+ else
+ break;
}
mir_free(reqHdr);
|