diff options
Diffstat (limited to 'src/testzzuf/test_get_chunked.c')
-rw-r--r-- | src/testzzuf/test_get_chunked.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testzzuf/test_get_chunked.c b/src/testzzuf/test_get_chunked.c index 8525928b..fecc71ce 100644 --- a/src/testzzuf/test_get_chunked.c +++ b/src/testzzuf/test_get_chunked.c | |||
@@ -139,7 +139,7 @@ testInternalGet () | |||
139 | { | 139 | { |
140 | fprintf (stderr, "."); | 140 | fprintf (stderr, "."); |
141 | c = curl_easy_init (); | 141 | c = curl_easy_init (); |
142 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11081/hello_world"); | 142 | curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:11081/hello_world"); |
143 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 143 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
144 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 144 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
145 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 145 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
@@ -180,7 +180,7 @@ testMultithreadedGet () | |||
180 | { | 180 | { |
181 | fprintf (stderr, "."); | 181 | fprintf (stderr, "."); |
182 | c = curl_easy_init (); | 182 | c = curl_easy_init (); |
183 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11081/hello_world"); | 183 | curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:11081/hello_world"); |
184 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 184 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
185 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 185 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
186 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 186 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
@@ -238,7 +238,7 @@ testExternalGet () | |||
238 | { | 238 | { |
239 | fprintf (stderr, "."); | 239 | fprintf (stderr, "."); |
240 | c = curl_easy_init (); | 240 | c = curl_easy_init (); |
241 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11081/hello_world"); | 241 | curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:11081/hello_world"); |
242 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 242 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
243 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 243 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
244 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 244 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |