diff options
Diffstat (limited to 'protocols/SkypeWeb/src/http_request.h')
-rw-r--r-- | protocols/SkypeWeb/src/http_request.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/http_request.h b/protocols/SkypeWeb/src/http_request.h index 50e9528dfd..b281a8846f 100644 --- a/protocols/SkypeWeb/src/http_request.h +++ b/protocols/SkypeWeb/src/http_request.h @@ -230,8 +230,10 @@ public: url.Insert(0, flags & NLHRF_SSL ? "https://" : "http://");
szUrl = url.GetBuffer();
- pData = Body.ToString();
- dataLength = mir_strlen(pData);
+ if (!pData) {
+ pData = Body.ToString();
+ dataLength = mir_strlen(pData);
+ }
char message[1024];
mir_snprintf(message, SIZEOF(message), "Send request to %s", szUrl);
|