[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    [Haiku-commits] r29831 - haiku/trunk/src/bin
From:       mmu_man at BerliOS <mmu_man () mail ! berlios ! de>
Date:       2009-03-31 16:07:19
Message-ID: 200903311607.n2VG7JMG011797 () sheep ! berlios ! de
[Download RAW message or body]

Author: mmu_man
Date: 2009-03-31 18:07:18 +0200 (Tue, 31 Mar 2009)
New Revision: 29831
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=29831&view=rev

Modified:
   haiku/trunk/src/bin/urlwrapper.cpp
Log:
The telnet command handles an alternative port just fine, so pass it if present.


Modified: haiku/trunk/src/bin/urlwrapper.cpp
===================================================================
--- haiku/trunk/src/bin/urlwrapper.cpp	2009-03-31 15:13:29 UTC (rev 29830)
+++ haiku/trunk/src/bin/urlwrapper.cpp	2009-03-31 16:07:18 UTC (rev 29831)
@@ -324,6 +324,8 @@
 		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();

_______________________________________________
Haiku-commits mailing list
Haiku-commits@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/haiku-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic