summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/http_request.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-23 20:51:11 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-23 20:51:11 +0000
commit2e5c904f370d48a8e780ce64db2633d54ec0f5cd (patch)
tree9d18c3dd5cb067588c6a8e345f96230e323703c8 /plugins/Dropbox/src/http_request.h
parent8e146597bbd27b72a42a3a197c1db17153e2e0b3 (diff)
Dropbox:
- fixed crash on file upload - added upload icon (thx dracosha) - resource fix - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@13797 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/http_request.h')
-rw-r--r--plugins/Dropbox/src/http_request.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/http_request.h b/plugins/Dropbox/src/http_request.h
index 2d2b8d130d..9980945b66 100644
--- a/plugins/Dropbox/src/http_request.h
+++ b/plugins/Dropbox/src/http_request.h
@@ -121,9 +121,8 @@ protected:
mir_free(pData);
dataLength = (int)size;
- pData = (char*)mir_alloc(size + 1);
+ pData = (char*)mir_alloc(size);
memcpy(pData, data, size);
- pData[size] = 0;
}
public: