From 9c8af69119a339c1933be6f8cf14033e74f21370 Mon Sep 17 00:00:00 2001 From: ramon18 Date: Fri, 17 Sep 2004 22:53:34 +0000 Subject: [PATCH] #1008509 - Fixed compilation of plugin NSISdl under VS.NET git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3657 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/NSISdl/httpget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Contrib/NSISdl/httpget.cpp b/Contrib/NSISdl/httpget.cpp index 15993088..96ee8369 100644 --- a/Contrib/NSISdl/httpget.cpp +++ b/Contrib/NSISdl/httpget.cpp @@ -228,7 +228,7 @@ void JNL_HTTPGet::connect(char *url) } -static int _strnicmp(char *b1, char *b2, int l) +static int my_strnicmp(char *b1, char *b2, int l) { while (l-- && *b1 && *b2) { @@ -323,7 +323,7 @@ char *JNL_HTTPGet::getheader(char *headername) char *p=m_recvheaders; while (*p) { - if (!_strnicmp(headername,p,strlen(headername))) + if (!my_strnicmp(headername,p,strlen(headername))) { ret=p+strlen(headername); while (*ret == ' ') ret++; @@ -386,7 +386,7 @@ run_again: m_http_state=-1; return -1; } - if (!_strnicmp(buf,"Location:",9)) + if (!my_strnicmp(buf,"Location:",9)) { char *p=buf+9; while (*p== ' ') p++; if (*p)