fix typo
authorMichael Wallner <mike@php.net>
Thu, 2 Jun 2011 20:00:50 +0000 (20:00 +0000)
committerMichael Wallner <mike@php.net>
Thu, 2 Jun 2011 20:00:50 +0000 (20:00 +0000)
php_http_neon.c

index 11117d33c5ed48a89671c4ede49ec37833f668fe..f0bc293cd3a6c9c7c988a41a43dbec52105e5433 100644 (file)
@@ -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;