aboutsummaryrefslogtreecommitdiff
path: root/lib/speedcheck.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/speedcheck.c
parentddab9bd2ec85d145fd98d647cb235621c1c03258 (diff)
fix printf-style format strings
Diffstat (limited to 'lib/speedcheck.c')
-rw-r--r--lib/speedcheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/speedcheck.c b/lib/speedcheck.c
index aa57ccd59..9f801e1fc 100644
--- a/lib/speedcheck.c
+++ b/lib/speedcheck.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -54,7 +54,7 @@ CURLcode Curl_speedcheck(struct SessionHandle *data,
/* we have been this slow for long enough, now die */
failf(data,
"Operation too slow. "
- "Less than %d bytes/sec transfered the last %d seconds",
+ "Less than %ld bytes/sec transfered the last %ld seconds",
data->set.low_speed_limit,
data->set.low_speed_time);
return CURLE_OPERATION_TIMEDOUT;