summaryrefslogtreecommitdiff
path: root/tests/libtest/libauthretry.c
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-08-06 11:45:06 +0200
committerGuenter Knauf <lists@gknw.net>2012-08-06 11:45:06 +0200
commit69f5fe070dd0f20a5c4591c70d8d42bc0b8f02dc (patch)
tree179b24d2b56e53486703a9d5eeb72ae2cd3c771e /tests/libtest/libauthretry.c
parent5dedda1448bc3b9c2a4a2c2de1a535797e026d56 (diff)
downloadgnurl-69f5fe070dd0f20a5c4591c70d8d42bc0b8f02dc.tar.gz
gnurl-69f5fe070dd0f20a5c4591c70d8d42bc0b8f02dc.tar.bz2
gnurl-69f5fe070dd0f20a5c4591c70d8d42bc0b8f02dc.zip
Fixed compiler warning - argument is type long.
Diffstat (limited to 'tests/libtest/libauthretry.c')
-rw-r--r--tests/libtest/libauthretry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/libauthretry.c b/tests/libtest/libauthretry.c
index 6403c839b..900e85fa4 100644
--- a/tests/libtest/libauthretry.c
+++ b/tests/libtest/libauthretry.c
@@ -39,7 +39,7 @@ static int send_request(CURL *curl, const char *url, int seq, long auth_scheme,
}
sprintf(full_url, "%s%04d", url, seq);
- fprintf(stderr, "Sending new request %d to %s with credential %s (auth %d)\n", seq, full_url, userpwd, auth_scheme);
+ fprintf(stderr, "Sending new request %d to %s with credential %s (auth %ld)\n", seq, full_url, userpwd, auth_scheme);
test_setopt(curl, CURLOPT_URL, full_url);
test_setopt(curl, CURLOPT_VERBOSE, 1L);
test_setopt(curl, CURLOPT_HEADER, 1L);