Mercurial > gftp.yaz
diff lib/rfc959.c @ 319:2ad0b9a00fdd
2003-11-23 Brian Masney <masneyb@gftp.org>
* src/gtk/transfer.c - when transfering a file, if the file being
transfered is greater in the destination than in the source, overwrite
it
* lib/rfc959.c (rfc959_ipv6_data_connection_new) - when parsing the
output, parse the integers as unsigned.
author | masneyb |
---|---|
date | Sun, 23 Nov 2003 15:52:22 +0000 |
parents | 32a6b26b7026 |
children | 0fcc6468a0af |
line wrap: on
line diff
--- a/lib/rfc959.c Wed Nov 12 00:39:32 2003 +0000 +++ b/lib/rfc959.c Sun Nov 23 15:52:22 2003 +0000 @@ -822,7 +822,7 @@ return (GFTP_EFATAL); } - if (sscanf (pos, "|||%d|", &port) != 1) + if (sscanf (pos, "|||%u|", &port) != 1) { request->logging_function (gftp_logging_error, request, _("Invalid EPSV response '%s'\n"),