aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-28 07:23:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-28 07:23:19 +0000
commitf6f2a9e4bef9efa3605a8348df5093631d3d3a9b (patch)
treedde6de93cfde2e52f7bd2578c6f504a5e89b1067 /src
parent8bfcae65ef9f7835b447a1e210c99ec8f5ac6198 (diff)
use longs
Diffstat (limited to 'src')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 3caa473a1..48649c58a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2782,10 +2782,10 @@ operate(struct Configurable *config, int argc, char *argv[])
int res = 0;
int i;
int up; /* upload file counter within a single upload glob */
- int retry_sleep_default = config->retry_delay?
+ long retry_sleep_default = config->retry_delay?
config->retry_delay*1000:RETRY_SLEEP_DEFAULT; /* ms */
- int retry_numretries;
- int retry_sleep = retry_sleep_default;
+ long retry_numretries;
+ long retry_sleep = retry_sleep_default;
long response;
char *env;
@@ -3554,8 +3554,8 @@ operate(struct Configurable *config, int argc, char *argv[])
"FTP error"
};
fprintf(stderr, "Transient problem: %s\n"
- "Will retry in %d seconds. "
- "%d retries left.\n",
+ "Will retry in %ld seconds. "
+ "%ld retries left.\n",
m[retry],
retry_sleep/1000,
retry_numretries);