soc.2009.telepathy: fe585435: PURPLE_STATUS_UNSET is an invalid primit...

sttwister at gmail.com sttwister at gmail.com
Mon Aug 10 09:46:05 EDT 2009


-----------------------------------------------------------------
Revision: fe5854357c7664c988adee6fa1a7e6bbe7e950a7
Ancestor: a92f10018eb69f241432296b5567608b079ee660
Author: sttwister at gmail.com
Date: 2009-08-10T13:44:25
Branch: im.pidgin.soc.2009.telepathy
URL: http://d.pidgin.im/viewmtn/revision/info/fe5854357c7664c988adee6fa1a7e6bbe7e950a7

Modified files:
        libpurple/protocols/telepathy/telepathy_utils.h

ChangeLog: 

PURPLE_STATUS_UNSET is an invalid primitive type to pass to
purple_status_type_new(). This causes a crash when checking accounts
for identical statuses.

-------------- next part --------------
============================================================
--- libpurple/protocols/telepathy/telepathy_utils.h	b6fc9a32cd67622b4e579c3191d2abae89080c55
+++ libpurple/protocols/telepathy/telepathy_utils.h	b5564919740a7b9cdd51cc22b8593e579bf71668
@@ -64,8 +64,6 @@ static const StatusMapping statuses[] = 
 	{ PURPLE_STATUS_EXTENDED_AWAY, "xa", N_("Extended away") },
 	{ PURPLE_STATUS_INVISIBLE, "hidden", NULL },
 	{ PURPLE_STATUS_OFFLINE, "offline", NULL },
-	{ PURPLE_STATUS_UNSET, "unknown", NULL },
-	{ PURPLE_STATUS_UNSET, "error", NULL },
 	{ 0, NULL, NULL}
 };
 


More information about the Commits mailing list