X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_url_api.c;h=c1a4f81b0535125af32c8c1647dde675905cc5d8;hp=09558a246386f767a14365af4bc80bb7b6e52a0c;hb=20ee94e8fcdec7568c62e8791d4dd324e13323f9;hpb=b37be57f73de02b4bfe632223af12098b9dc7e6f diff --git a/http_url_api.c b/http_url_api.c index 09558a2..c1a4f81 100644 --- a/http_url_api.c +++ b/http_url_api.c @@ -175,6 +175,7 @@ PHP_HTTP_API void _http_build_url(int flags, const php_url *old_url, const php_u default: #endif case 80: + case 0: url->scheme = estrndup("http", lenof("http")); break;