summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSend.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
commit159b565b390687258ee65a3b66596e118752063c (patch)
tree91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/SendScreenshotPlus/src/CSend.cpp
parent7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff)
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSend.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSend.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSend.cpp b/plugins/SendScreenshotPlus/src/CSend.cpp
index e86b3ebd4d..b2adfc3878 100644
--- a/plugins/SendScreenshotPlus/src/CSend.cpp
+++ b/plugins/SendScreenshotPlus/src/CSend.cpp
@@ -527,7 +527,7 @@ int JSON_Get_(const char* json, size_t jsonlen, const char* variable, const char
if(c+2>=jsonend || *++c!=':') break;
/// read data
++c;
- if(!strcmp(var,needle)){
+ if(!mir_strcmp(var,needle)){
int datalen=JSON_ParseData_(&c,jsonend-c,value);
if(!datalen)
return 0;
@@ -691,15 +691,15 @@ int CSend::HTTPFormCreate(NETLIBHTTPREQUEST* nlhr,int requestType,char* url,HTTP
const char* mime="application/octet-stream";
const char* fileext=strrchr(filename,'.');
if(fileext){
- if(!strcmp(fileext,".jpg") || !strcmp(fileext,".jpeg") || !strcmp(fileext,".jpe"))
+ if(!mir_strcmp(fileext,".jpg") || !mir_strcmp(fileext,".jpeg") || !mir_strcmp(fileext,".jpe"))
mime="image/jpeg";
- else if(!strcmp(fileext,".bmp"))
+ else if(!mir_strcmp(fileext,".bmp"))
mime="image/bmp";
- else if(!strcmp(fileext,".png"))
+ else if(!mir_strcmp(fileext,".png"))
mime="image/png";
- else if(!strcmp(fileext,".gif"))
+ else if(!mir_strcmp(fileext,".gif"))
mime="image/gif";
- else if(!strcmp(fileext,".tif") || !strcmp(fileext,".tiff"))
+ else if(!mir_strcmp(fileext,".tif") || !mir_strcmp(fileext,".tiff"))
mime="image/tiff";
}
HTTPFormAppendData(nlhr,&dataMax,&dataPos,mime,mir_strlen(mime));