aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-28 15:34:18 +0000
committerYang Tse <yangsita@gmail.com>2010-01-28 15:34:18 +0000
commitd65cf7889b4ce669876f9e05442fd09f6fe40e37 (patch)
tree5c2c803617d46cf5a0329403fa49b53a008000c2 /lib/transfer.c
parentddab9bd2ec85d145fd98d647cb235621c1c03258 (diff)
fix printf-style format strings
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index fe30e914a..bf52044a0 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -1617,7 +1617,7 @@ CURLcode Curl_follow(struct SessionHandle *data,
if(type == FOLLOW_REDIR) {
if((data->set.maxredirs != -1) &&
(data->set.followlocation >= data->set.maxredirs)) {
- failf(data,"Maximum (%d) redirects followed", data->set.maxredirs);
+ failf(data,"Maximum (%ld) redirects followed", data->set.maxredirs);
return CURLE_TOO_MANY_REDIRECTS;
}