~prateek.karandikar/ubuntu/precise/pidgin/add_quicklist

« back to all changes in this revision

Viewing changes to libpurple/protocols/yahoo/yahoo_aliases.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-11-05 19:44:21 UTC
  • mfrom: (62.1.1 maverick-security) (2.3.12 sid)
  • Revision ID: james.westby@ubuntu.com-20101105194421-8r8o4pzw2m5j4hiy
Tags: 1:2.7.5-1ubuntu1
Resync on Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
                                        if (alias != NULL) {
146
146
                                                serv_got_alias(gc, yid, alias);
147
147
                                                purple_debug_info("yahoo", "Fetched alias '%s' (%s)\n", alias, id);
148
 
                                        } else if (buddy_alias != NULL && strcmp(buddy_alias, "") != 0) {
 
148
                                        } else if (buddy_alias && *buddy_alias && !g_str_equal(buddy_alias, yid)) {
149
149
                                        /* Or if we have an alias that Yahoo doesn't, send it up */
150
150
                                                yahoo_update_alias(gc, yid, buddy_alias);
151
151
                                                purple_debug_info("yahoo", "Sent updated alias '%s'\n", buddy_alias);