[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
heimdal 0.3d ftp client
[greed]:~$ /usr/heimdal/bin/ftp knark.fultjack.arpa 54321
knark.fultjack.arpa: bad port number-- 54321
usage: ftp host-name [port]
ftp>
I don't know if this is intened for some reason, but weird people with
portredirections forces me to do this :)
my oneline hack:
--- cmds.c.orig Tue Jul 18 12:00:31 2000
+++ cmds.c Sun Jan 21 16:20:29 2001
@@ -81,7 +81,7 @@
setpeer(int argc, char **argv)
{
char *host;
- short port;
+ short unsigned port;
struct servent *sp;
if (connected) {