Mercurial > gftp.yaz
comparison src/gtk/transfer.c @ 36:bc9473ba9a90
2002-10-07 Brian Masney <masneyb@gftp.org>
* lib/local.c - fixed file uploads
* lib/rfc959.c - fixed crash if you uploaded/downloaded a file that
you didn't have permission to
* src/gtk/transfer.c - display fixes for hostname
* autogen.sh - pass -c to automake
author | masneyb |
---|---|
date | Tue, 08 Oct 2002 02:19:46 +0000 |
parents | c8ec7877432e |
children | 5a178bd04ca5 |
comparison
equal
deleted
inserted
replaced
35:9d73b3cf05a6 | 36:bc9473ba9a90 |
---|---|
2076 if (tdata->fromreq->retries != 0 && tdata->current_file_retries >= tdata->fromreq->retries) | 2076 if (tdata->fromreq->retries != 0 && tdata->current_file_retries >= tdata->fromreq->retries) |
2077 { | 2077 { |
2078 tdata->fromreq->logging_function (gftp_logging_error, | 2078 tdata->fromreq->logging_function (gftp_logging_error, |
2079 tdata->fromreq->user_data, | 2079 tdata->fromreq->user_data, |
2080 _("Error: Remote site %s disconnected. Max retries reached...giving up\n"), | 2080 _("Error: Remote site %s disconnected. Max retries reached...giving up\n"), |
2081 GFTP_GET_HOSTNAME (tdata->fromreq)); | 2081 tdata->fromreq->hostname != NULL ? |
2082 tdata->fromreq->hostname : tdata->toreq->hostname); | |
2082 return (-1); | 2083 return (-1); |
2083 } | 2084 } |
2084 else | 2085 else |
2085 { | 2086 { |
2086 tdata->fromreq->logging_function (gftp_logging_error, | 2087 tdata->fromreq->logging_function (gftp_logging_error, |
2087 tdata->fromreq->user_data, | 2088 tdata->fromreq->user_data, |
2088 _("Error: Remote site %s disconnected. Will reconnect in %d seconds\n"), | 2089 _("Error: Remote site %s disconnected. Will reconnect in %d seconds\n"), |
2089 GFTP_GET_HOSTNAME (tdata->fromreq), tdata->fromreq->sleep_time); | 2090 tdata->fromreq->hostname != NULL ? |
2091 tdata->fromreq->hostname : tdata->toreq->hostname, | |
2092 tdata->fromreq->sleep_time); | |
2090 } | 2093 } |
2091 | 2094 |
2092 while (tdata->fromreq->retries == 0 || | 2095 while (tdata->fromreq->retries == 0 || |
2093 tdata->current_file_retries <= tdata->fromreq->retries) | 2096 tdata->current_file_retries <= tdata->fromreq->retries) |
2094 { | 2097 { |