X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_neon.c;h=f0bc293cd3a6c9c7c988a41a43dbec52105e5433;hb=22e379f57c2668672f3dbf909fc748dbc1ede50a;hp=11117d33c5ed48a89671c4ede49ec37833f668fe;hpb=7dc5de0b79846bfe33ca36a9eeb894ef2ecfdee1;p=m6w6%2Fext-http diff --git a/php_http_neon.c b/php_http_neon.c index 11117d3..f0bc293 100644 --- a/php_http_neon.c +++ b/php_http_neon.c @@ -616,7 +616,7 @@ static STATUS php_http_neon_request_exec(php_http_request_t *h, php_http_request purl->port = neon->options.port; } else if (!purl->port) { purl->port = 80; - if (strncascmp(purl->scheme, "http", 4)) { + if (strncasecmp(purl->scheme, "http", 4)) { #ifdef HAVE_GETSERVBYNAME struct servent *se;