aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_digestauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_digestauth.c')
-rw-r--r--src/testcurl/daemontest_digestauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcurl/daemontest_digestauth.c b/src/testcurl/daemontest_digestauth.c
index 2fa9f49e..c46cfc6b 100644
--- a/src/testcurl/daemontest_digestauth.c
+++ b/src/testcurl/daemontest_digestauth.c
@@ -165,7 +165,7 @@ testDigestAuth ()
165 if (d == NULL) 165 if (d == NULL)
166 return 1; 166 return 1;
167 c = curl_easy_init (); 167 c = curl_easy_init ();
168 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1337/"); 168 curl_easy_setopt (c, CURLOPT_URL, "http://127.0.0.1:1337/");
169 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 169 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
170 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 170 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
171 curl_easy_setopt (c, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); 171 curl_easy_setopt (c, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);