X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_url.c;h=1520ae9cbe747682e70c1aa4d5cac5b5e40a69e6;hp=8352608982e4ab769dfeccbdea4ae01f47d58f1d;hb=512de8cdaf8a02b4329e0ceb8368cb8f15eba7cb;hpb=e1d5ca36e13696a2e87b618165669fc7c53709c1 diff --git a/src/php_http_url.c b/src/php_http_url.c index 8352608..1520ae9 100644 --- a/src/php_http_url.c +++ b/src/php_http_url.c @@ -1119,7 +1119,7 @@ static ZEND_RESULT_CODE parse_hostinfo(struct parse_state *state, const char *pt /* sort of a compromise, just ensure we don't end up * with a hyphen at the beginning */ - php_error_docref(NULL TSRMLS_CC, E_WARNING, + php_error_docref(NULL, E_WARNING, "Failed to parse %s; unexpected '%c' at pos %u in '%s'", port ? "port" : "host", (unsigned char) *ptr, (unsigned) (ptr - tmp), tmp);