Mercurial > pidgin
comparison libpurple/protocols/oscar/family_auth.c @ 24665:531922f4ea2a
Minor cleanup: remove od->sn, since it's the same as PurpleAccount->username
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 07 Dec 2008 23:34:12 +0000 |
parents | 5713cca010d5 |
children | 5ec72dbdd28e |
comparison
equal
deleted
inserted
replaced
24664:1f9700b825a4 | 24665:531922f4ea2a |
---|---|
293 tlvlist = aim_tlvlist_read(bs); | 293 tlvlist = aim_tlvlist_read(bs); |
294 | 294 |
295 /* | 295 /* |
296 * No matter what, we should have a screen name. | 296 * No matter what, we should have a screen name. |
297 */ | 297 */ |
298 memset(od->sn, 0, sizeof(od->sn)); | |
299 if (aim_tlv_gettlv(tlvlist, 0x0001, 1)) { | 298 if (aim_tlv_gettlv(tlvlist, 0x0001, 1)) { |
300 info->sn = aim_tlv_getstr(tlvlist, 0x0001, 1); | 299 info->sn = aim_tlv_getstr(tlvlist, 0x0001, 1); |
301 strncpy(od->sn, info->sn, sizeof(od->sn)); | 300 purple_connection_set_display_name(od->gc, info->sn); |
302 } | 301 } |
303 | 302 |
304 /* | 303 /* |
305 * Check for an error code. If so, we should also | 304 * Check for an error code. If so, we should also |
306 * have an error url. | 305 * have an error url. |