From 451f35e4e65fe71337b65fcdb809406c7648afea Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 27 Dec 2017 17:41:55 -0800 Subject: One more set of Windows fixes. --- src/supplemental/http/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/supplemental/http/server.c b/src/supplemental/http/server.c index 4a46bf44..92853898 100644 --- a/src/supplemental/http/server.c +++ b/src/supplemental/http/server.c @@ -219,8 +219,8 @@ http_uri_canonify(char *path) *tmp = '\0'; } // If the URI was absolute, make it relative. - if ((strncasecmp(path, "http://", strlen("http://")) == 0) || - (strncasecmp(path, "https://", strlen("https://")) == 0)) { + if ((nni_strncasecmp(path, "http://", strlen("http://")) == 0) || + (nni_strncasecmp(path, "https://", strlen("https://")) == 0)) { // Skip past the :// path = strchr(path, ':'); path += 3; -- cgit v1.2.3-70-g09d2