soc.2009.transport: 0aff5696: Fixed segfault when features arrived

hanzz at soc.pidgin.im hanzz at soc.pidgin.im
Mon Jul 13 05:20:55 EDT 2009


-----------------------------------------------------------------
Revision: 0aff5696158cd4874ce8d4d90600e2f870411368
Ancestor: b65961a221d5504f62df33d0d92884a94faf2110
Author: hanzz at soc.pidgin.im
Date: 2009-07-13T09:14:37
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/0aff5696158cd4874ce8d4d90600e2f870411368

Modified files:
        caps.cpp

ChangeLog: 

Fixed segfault when features arrived

-------------- next part --------------
============================================================
--- caps.cpp	1dc3ad487ce8c19c492b198a28822cafcf262387
+++ caps.cpp	cae7ad63c09650056029f45d4325c0b6710cc9cb
@@ -87,7 +87,7 @@ void GlooxDiscoHandler::handleDiscoInfo(
 		user = p->userManager()->getUserByJID(jid.bare() + server);
 	}
 	else {
-		User *user = p->userManager()->getUserByJID(jid.bare());
+		user = p->userManager()->getUserByJID(jid.bare());
 	}
 	if (user==NULL){
 		std::cout << "no user?! wtf...";


More information about the Commits mailing list