diff options
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; |
