From: <rl...@us...> - 2006-04-20 05:19:40
|
Revision: 16072 Author: rlaager Date: 2006-04-19 22:19:34 -0700 (Wed, 19 Apr 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16072&view=rev Log Message: ----------- CID 103: Description: Variable "my_buddy" tracked as NULL was passed to a function that dereferences it. Modified Paths: -------------- trunk/src/gtkblist.c Modified: trunk/src/gtkblist.c =================================================================== --- trunk/src/gtkblist.c 2006-04-20 05:19:12 UTC (rev 16071) +++ trunk/src/gtkblist.c 2006-04-20 05:19:34 UTC (rev 16072) @@ -5377,9 +5377,7 @@ } name_cmp = gaim_utf8_strcasecmp( - (my_buddy - ? gaim_contact_get_alias(gaim_buddy_get_contact(my_buddy)) - : NULL), + gaim_contact_get_alias(gaim_buddy_get_contact(my_buddy)), (this_buddy ? gaim_contact_get_alias(gaim_buddy_get_contact(this_buddy)) : NULL)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |