[prev in list] [next in list] [prev in thread] [next in thread]
List: licq-cvs
Subject: [Licq-cvs] msn/src
From: Jon Keating <emostar () users ! sourceforge ! net>
Date: 2004-12-12 0:45:24
Message-ID: E1CdHrY-0001a2-MX () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/licq/msn/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5964
Modified Files:
msn-srv.cpp
Log Message:
Fix SF Bug# 1079953.
Don't log back online with MSN if we selected offline manually.
Index: msn-srv.cpp
===================================================================
RCS file: /cvsroot/licq/msn/src/msn-srv.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- msn-srv.cpp 10 Dec 2004 05:15:00 -0000 1.4
+++ msn-srv.cpp 12 Dec 2004 00:45:21 -0000 1.5
@@ -344,6 +344,9 @@
void CMSN::MSNLogon(const char *_szServer, int _nPort, unsigned long _nStatus)
{
+ if (_nStatus == ICQ_STATUS_OFFLINE)
+ return;
+
ICQOwner *o = gUserManager.FetchOwner(MSN_PPID, LOCK_R);
if (!o)
{
@@ -388,6 +391,7 @@
CMSNPacket *pSend = new CPS_MSNLogoff();
SendPacket(pSend);
+ m_nStatus = ICQ_STATUS_OFFLINE;
// Close the socket
INetSocket *s = gSocketMan.FetchSocket(m_nServerSocket);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic