Thu, 05 Jan 2006 05:29:51 +0000
[gaim-migrate @ 15077]
jabber.c:389: warning: ISO C90 forbids mixed declarations and code
| src/protocols/bonjour/jabber.c | file | annotate | diff | comparison | revisions |
--- 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);