php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #71709
Patch 71709.patch revision 2016-06-24 12:05 UTC by cmb@php.net

Patch 71709.patch for cURL related Bug #71709

Patch version 2016-06-24 12:05 UTC

Return to Bug #71709 | Download this patch
Patch Revisions:

Developer: cmb@php.net

 ext/curl/tests/curl_setopt_basic003.phpt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/curl/tests/curl_setopt_basic003.phpt b/ext/curl/tests/curl_setopt_basic003.phpt
index 246b83b..ed1990e 100644
--- a/ext/curl/tests/curl_setopt_basic003.phpt
+++ b/ext/curl/tests/curl_setopt_basic003.phpt
@@ -28,7 +28,7 @@ $ch = curl_init();
 
 ob_start(); // start output buffering
 curl_setopt($ch, CURLOPT_HTTPHEADER, array());
-curl_setopt($ch, CURLOPT_URL, $host);
+curl_setopt($ch, CURLOPT_URL, $url);
 
 $curl_content = curl_exec($ch);
 ob_end_clean();
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC