The telnet command handles an alternative port just fine, so pass it if present.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29831 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2009-03-31 16:07:18 +00:00
parent ac2bb4db91
commit 48bd26db93

View File

@ -324,6 +324,8 @@ void UrlWrapperApp::ArgvReceived(int32 argc, char **argv)
if (u.HasUser())
cmd << "-l " << u.user << " ";
cmd << u.host;
if (u.HasPort())
cmd << " " << u.port;
PRINT(("CMD='%s'\n", cmd.String()));
cmd << failc;
args[2] = (char *)cmd.String();