use longs

This commit is contained in:
Daniel Stenberg 2004-10-28 07:23:19 +00:00
parent 8bfcae65ef
commit f6f2a9e4be
1 changed files with 5 additions and 5 deletions

View File

@ -2782,10 +2782,10 @@ operate(struct Configurable *config, int argc, char *argv[])
int res = 0; int res = 0;
int i; int i;
int up; /* upload file counter within a single upload glob */ 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 */ config->retry_delay*1000:RETRY_SLEEP_DEFAULT; /* ms */
int retry_numretries; long retry_numretries;
int retry_sleep = retry_sleep_default; long retry_sleep = retry_sleep_default;
long response; long response;
char *env; char *env;
@ -3554,8 +3554,8 @@ operate(struct Configurable *config, int argc, char *argv[])
"FTP error" "FTP error"
}; };
fprintf(stderr, "Transient problem: %s\n" fprintf(stderr, "Transient problem: %s\n"
"Will retry in %d seconds. " "Will retry in %ld seconds. "
"%d retries left.\n", "%ld retries left.\n",
m[retry], m[retry],
retry_sleep/1000, retry_sleep/1000,
retry_numretries); retry_numretries);