-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
i saw the message that always came out.....so..i fixed with the actual code if licq is not running, but there is another process with the same pid that the stale says, licq will fail to load. so the patch removes the file on ~CLicq. -----BEGIN PGP SIGNATURE----- iD8DBQE9mlynUMlRieHkprgRAjU4AJ9bpu37zW+OGnYHzL10xxDghipKjACgnTNB kq7X8ZFoH9giNAs7HyhAbmY= =/qVI -----END PGP SIGNATURE-----
Index: src/licq.cpp =================================================================== RCS file: /cvsroot/licq/licq/src/licq.cpp,v retrieving revision 1.58 diff -u -d -p -r1.58 licq.cpp --- src/licq.cpp 12 Sep 2002 03:43:10 -0000 1.58 +++ src/licq.cpp 2 Oct 2002 02:38:22 -0000 @@ -398,6 +398,12 @@ CLicq::~CLicq() //... // Kill the daemon if (licqDaemon != NULL) delete licqDaemon; + + // Remove the lock file + char szConf[MAX_FILENAME_LEN]; + snprintf(szConf, MAX_FILENAME_LEN, "%s/licq.pid", BASE_DIR); + remove(szConf); + }
