Revision: 18781
http://opalvoip.svn.sourceforge.net/opalvoip/?rev=18781&view=rev
Author: csoutheren
Date: 2007-11-01 01:50:27 -0700 (Thu, 01 Nov 2007)
Log Message:
-----------
Fix default value for port in PIPSocketAddressAndPort constructor
Thanks to Amnon David
Modified Paths:
--------------
ptlib/trunk/include/ptlib/ipsock.h
Modified: ptlib/trunk/include/ptlib/ipsock.h
===================================================================
--- ptlib/trunk/include/ptlib/ipsock.h 2007-11-01 00:48:19 UTC (rev 18780)
+++ ptlib/trunk/include/ptlib/ipsock.h 2007-11-01 08:50:27 UTC (rev 18781)
@@ -999,7 +999,7 @@
{ }
PIPSocketAddressAndPort(const PString & str, WORD defaultPort = 0, char _sep = ':')
- : sep(_sep)
+ : port(defaultPort), sep(_sep)
{ Parse(str, defaultPort, sep); }
BOOL Parse(const PString & str, WORD defaultPort = 0, char sep = ':');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|