changeset 8214:3418a6d51464

[gaim-migrate @ 8937] c99 isn't necessary committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 06 Feb 2004 03:14:25 +0000
parents 8d41a4250bb7
children 83830cb8467e
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Fri Feb 06 00:30:35 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Fri Feb 06 03:14:25 2004 +0000
@@ -4899,11 +4899,12 @@
 							if (aim_ssi_itemlist_exists(sess->ssi.local, b->name)) {
 								/* If the buddy is an ICQ user then load his nickname */
 								const char *servernick = gaim_blist_node_get_string((GaimBlistNode*)b, "servernick");
+								char *alias;
 								if (servernick)
 									serv_got_alias(gc, b->name, servernick);
 
 								/* Store local alias on server */
-								char *alias = aim_ssi_getalias(sess->ssi.local, g->name, b->name);
+								alias = aim_ssi_getalias(sess->ssi.local, g->name, b->name);
 								if (!alias && b->alias && strlen(b->alias))
 									aim_ssi_aliasbuddy(sess, g->name, b->name, b->alias);
 								free(alias);