diff options
| author | Hannes Magnusson <bjori@php.net> | 2006-06-29 14:31:56 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2006-06-29 14:31:56 +0000 |
| commit | bcd06ef1b6999977b58c4869ff1383a162aab286 (patch) | |
| tree | 7ededd1266dd67776f37c2f3a9638e00355e7dba /ext/curl | |
| parent | b8f97db5802f841462446d6fff2812b59754f7d8 (diff) | |
| download | php-git-bcd06ef1b6999977b58c4869ff1383a162aab286.tar.gz | |
Bug #37961 (url should be URL)
Diffstat (limited to 'ext/curl')
| -rw-r--r-- | ext/curl/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 04a6263249..1ce0e36a77 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -163,12 +163,12 @@ static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC); php_url *tmp_url; \ \ if (!(tmp_url = php_url_parse_ex(str, len))) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid url '%s'", str); \ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid URL '%s'", str); \ RETURN_FALSE; \ } \ \ if (php_memnstr(str, tmp_url->path, strlen(tmp_url->path), str + len)) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Url '%s' contains unencoded control characters.", str); \ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL '%s' contains unencoded control characters.", str); \ RETURN_FALSE; \ } \ \ |
