X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_url_api.c;h=8a70b0f2fb18b3435110b436b7f1f68023cafb15;hp=09558a246386f767a14365af4bc80bb7b6e52a0c;hb=1e9ae509c5c6423114e0c6c874ee224cd999795e;hpb=5ba379899fb1e05ede73674dc010ce8846e051c2 diff --git a/http_url_api.c b/http_url_api.c index 09558a2..8a70b0f 100644 --- a/http_url_api.c +++ b/http_url_api.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2007, Michael Wallner | + | Copyright (c) 2004-2010, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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;