And another patch to fix the next compile error in 
CICQDaemon::icqFetchAutoResponseServer.

I looked into ICQEvent::EventID to try to understant what 
icqFetchAutoResponseServer should return in case of error (the function seems 
to never get called...). Could anyone confirm that 0 is the right return 
value ?

Laurent Pinchart

Index: src/icqd-srv.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/icqd-srv.cpp,v
retrieving revision 1.25
diff -u -r1.25 icqd-srv.cpp
--- src/icqd-srv.cpp    19 Mar 2002 06:54:24 -0000      1.25
+++ src/icqd-srv.cpp    19 Mar 2002 18:33:52 -0000
@@ -62,7 +62,7 @@
 unsigned long CICQDaemon::icqFetchAutoResponseServer(unsigned long _nUin)
 {
   ICQUser *u = gUserManager.FetchUser(_nUin, LOCK_R);
-  if (!u) return;
+  if (!u) return 0;
 
   int nCmd;
   switch (u->Status())

_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to