Merge branch 'v2.6.x'
[m6w6/ext-http] / src / php_http_url.c
index 8352608982e4ab769dfeccbdea4ae01f47d58f1d..1520ae9cbe747682e70c1aa4d5cac5b5e40a69e6 100644 (file)
@@ -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);