From: <bd...@bd...> - 2005-07-12 12:28:53
|
Author: bdash Date: 2005-07-13 00:30:41 +1200 (Wed, 13 Jul 2005) New Revision: 362 Modified: trunk/msn/impl/connection.cpp trunk/msn/impl/notificationserver.cpp Log: While I remember, this should be called. Modified: trunk/msn/impl/connection.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/msn/impl/connection.cpp 2005-07-12 12:26:35 UTC (rev 361) +++ trunk/msn/impl/connection.cpp 2005-07-12 12:30:41 UTC (rev 362) @@ -129,7 +129,6 @@ { this->connectionSocketState_ =3D CS_DISCONNECTED; this->genericCallbacks().showError(self_, "Could not connect= to MSN server"); -// this->myNotificationServer()->externalCallbacks.closingCon= nection(this); return false; } =20 Modified: trunk/msn/impl/notificationserver.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/msn/impl/notificationserver.cpp 2005-07-12 12:26:35 UTC (rev 36= 1) +++ trunk/msn/impl/notificationserver.cpp 2005-07-12 12:30:41 UTC (rev 36= 2) @@ -520,7 +520,10 @@ assert(this->password_ !=3D ""); =20 if (! ConnectionImpl::connect(hostname, port)) + { + this->notificationServerCallbacks().closingConnection(); return false; + } =20 this->setConnectionState(NS_CONNECTING); =20 |