Mercurial > pidgin.yaz
diff libpurple/protocols/bonjour/buddy.c @ 24654:efe41c4e0df0
Fix Bonjour to better deal with buddy values set to the empty string.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 08 Dec 2008 05:20:44 +0000 |
parents | fe7504f465a2 |
children | 367b3ddcf5c3 |
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/buddy.c Sun Dec 07 02:36:57 2008 +0000 +++ b/libpurple/protocols/bonjour/buddy.c Mon Dec 08 05:20:44 2008 +0000 @@ -161,7 +161,7 @@ name = purple_buddy_get_name(buddy); /* Create the alias for the buddy using the first and the last name */ - if (bonjour_buddy->nick) + if (bonjour_buddy->nick && *bonjour_buddy->nick) serv_got_alias(purple_account_get_connection(account), name, bonjour_buddy->nick); else { gchar *alias = NULL;