projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a2b59
)
This should fix the garbage.
author
Sterling Hughes
<sterling@php.net>
Sun, 5 Nov 2000 17:14:16 +0000
(17:14 +0000)
committer
Sterling Hughes
<sterling@php.net>
Sun, 5 Nov 2000 17:14:16 +0000
(17:14 +0000)
ext/curl/curl.c
patch
|
blob
|
history
diff --git
a/ext/curl/curl.c
b/ext/curl/curl.c
index f9f85c4281b195d0ced81b8428817e470b84379e..2d23884451590e82eea30a0a9a1e20c98aff5828 100644
(file)
--- a/
ext/curl/curl.c
+++ b/
ext/curl/curl.c
@@
-707,9
+707,9
@@
PHP_FUNCTION(curl_getinfo)
switch (opt) {
case CURLINFO_EFFECTIVE_URL:
{
- char
url[250]
;
+ char
*url
;
- curl_easy_getinfo(curl_handle->cp, opt, url);
+ curl_easy_getinfo(curl_handle->cp, opt,
&
url);
RETURN_STRING(url, 1);
}