# HG changeset patch # User Mark Doliner # Date 1136438991 0 # Node ID b6577059c9e584052f5e8101b673e792cb9016e3 # Parent 7648dce3e356e207c440412e3f9d323391a2264e [gaim-migrate @ 15077] jabber.c:389: warning: ISO C90 forbids mixed declarations and code committer: Tailor Script diff -r 7648dce3e356 -r b6577059c9e5 src/protocols/bonjour/jabber.c --- a/src/protocols/bonjour/jabber.c Thu Jan 05 05:18:58 2006 +0000 +++ b/src/protocols/bonjour/jabber.c Thu Jan 05 05:29:51 2006 +0000 @@ -372,6 +372,7 @@ BonjourBuddy *bb = NULL; char *address_text = NULL; GaimBuddyList *bl = gaim_get_blist(); + struct _check_buddy_by_address_t *cbba; /* Check that it is a read condition */ if (condition != GAIM_INPUT_READ) { @@ -386,7 +387,7 @@ /* Look for the buddy that has open the conversation and fill information */ address_text = inet_ntoa(their_addr.sin_addr); - struct _check_buddy_by_address_t *cbba = g_new0(struct _check_buddy_by_address_t, 1); + cbba = g_new0(struct _check_buddy_by_address_t, 1); cbba->address = address_text; cbba->gb = &gb; g_hash_table_foreach(bl->buddies, _check_buddy_by_address, address_text);