diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-12-27 17:41:55 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-12-27 17:41:55 -0800 |
| commit | 451f35e4e65fe71337b65fcdb809406c7648afea (patch) | |
| tree | c99e5ebb633804615787cfada890d35d8d0f6bf8 /src | |
| parent | 1fc48dc4a67503c65a040606bc00a4cac7210f13 (diff) | |
| download | nng-451f35e4e65fe71337b65fcdb809406c7648afea.tar.gz nng-451f35e4e65fe71337b65fcdb809406c7648afea.tar.bz2 nng-451f35e4e65fe71337b65fcdb809406c7648afea.zip | |
One more set of Windows fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/supplemental/http/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
