diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-12-03 18:41:23 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-12-03 18:41:23 -0500 |
commit | 0654c7025fbe241efddf0c3b9e58817f262aeda9 (patch) | |
tree | 763b5e6a40224fd71653797b3066bf276c81f308 /WWW/Library/Implementation/HTFTP.c | |
parent | e87f21b4ae754e738cbb577215a039a26e28ad52 (diff) | |
download | lynx-snapshots-0654c7025fbe241efddf0c3b9e58817f262aeda9.tar.gz |
snapshot of project "lynx", label v2-8-2dev_8
Diffstat (limited to 'WWW/Library/Implementation/HTFTP.c')
-rw-r--r-- | WWW/Library/Implementation/HTFTP.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/WWW/Library/Implementation/HTFTP.c b/WWW/Library/Implementation/HTFTP.c index 5b405b5b..179de6fd 100644 --- a/WWW/Library/Implementation/HTFTP.c +++ b/WWW/Library/Implementation/HTFTP.c @@ -701,7 +701,7 @@ PRIVATE int get_connection ARGS2( arg); } if (status == HT_INTERRUPTED) { - _HTProgress (gettext("Connection interrupted.")); + _HTProgress (CONNECTION_INTERRUPTED); status = HT_NOT_LOADED; } else { HTAlert(gettext("Unable to connect to FTP host.")); @@ -733,7 +733,7 @@ PRIVATE int get_connection ARGS2( if (status == HT_INTERRUPTED) { CTRACE (tfp, "HTFTP: Interrupted at beginning of login.\n"); - _HTProgress (gettext("Connection interrupted.")); + _HTProgress (CONNECTION_INTERRUPTED); NETCLOSE(control->socket); control->socket = -1; return HT_INTERRUPTED; @@ -771,7 +771,7 @@ PRIVATE int get_connection ARGS2( FREE(command); if (status == HT_INTERRUPTED) { CTRACE (tfp, "HTFTP: Interrupted while sending username.\n"); - _HTProgress (gettext("Connection interrupted.")); + _HTProgress (CONNECTION_INTERRUPTED); NETCLOSE(control->socket); control->socket = -1; return HT_INTERRUPTED; @@ -835,7 +835,7 @@ PRIVATE int get_connection ARGS2( if (status == HT_INTERRUPTED) { CTRACE (tfp, "HTFTP: Interrupted while sending password.\n"); - _HTProgress (gettext("Connection interrupted.")); + _HTProgress (CONNECTION_INTERRUPTED); NETCLOSE(control->socket); control->socket = -1; return HT_INTERRUPTED; @@ -849,7 +849,7 @@ PRIVATE int get_connection ARGS2( status = response(temp); if (status == HT_INTERRUPTED) { CTRACE (tfp, "HTFTP: Interrupted while sending password.\n"); - _HTProgress (gettext("Connection interrupted.")); + _HTProgress (CONNECTION_INTERRUPTED); NETCLOSE(control->socket); control->socket = -1; return HT_INTERRUPTED; @@ -2531,7 +2531,7 @@ unload_btree: if (WasInterrupted || HTCheckForInterrupt()) { if (server_type != CMS_SERVER) response(NIL); - _HTProgress(gettext("Data transfer interrupted.")); + _HTProgress(TRANSFER_INTERRUPTED); return HT_LOADED; } if (server_type != CMS_SERVER) @@ -2594,7 +2594,7 @@ PUBLIC int HTFTPLoad ARGS4( status = response(port_command); if (status == HT_INTERRUPTED) { CTRACE (tfp, "HTFTP: Interrupted in response (port_command)\n"); - _HTProgress (gettext("Connection interrupted.")); + _HTProgress (CONNECTION_INTERRUPTED); NETCLOSE (control->socket); control->socket = -1; close_master_socket (); @@ -3231,7 +3231,7 @@ listen: rv = HTParseSocket(format, format_out, anchor, data_soc, sink); if (rv == HT_INTERRUPTED) - _HTProgress(gettext("Data transfer interrupted.")); + _HTProgress(TRANSFER_INTERRUPTED); HTInitInput(control->socket); /* Reset buffering to control connection DD 921208 */ |