comparison src/protocols/bonjour/jabber.c @ 13249:65a7de0f59ff

[gaim-migrate @ 15615] The callback _check_buddy_by_address expects the data to be a struct _check_buddy_by_address_t, I haven't tested this but I'm 98.874% sure it's correct. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 12 Feb 2006 17:26:06 +0000
parents e19c59a6ff11
children d1088b7771d4
comparison
equal deleted inserted replaced
13248:3e3d54d5be19 13249:65a7de0f59ff
388 /* Look for the buddy that has open the conversation and fill information */ 388 /* Look for the buddy that has open the conversation and fill information */
389 address_text = inet_ntoa(their_addr.sin_addr); 389 address_text = inet_ntoa(their_addr.sin_addr);
390 cbba = g_new0(struct _check_buddy_by_address_t, 1); 390 cbba = g_new0(struct _check_buddy_by_address_t, 1);
391 cbba->address = address_text; 391 cbba->address = address_text;
392 cbba->gb = &gb; 392 cbba->gb = &gb;
393 g_hash_table_foreach(bl->buddies, _check_buddy_by_address, address_text); 393 g_hash_table_foreach(bl->buddies, _check_buddy_by_address, cbba);
394 g_free(cbba); 394 g_free(cbba);
395 if (gb == NULL) 395 if (gb == NULL)
396 { 396 {
397 gaim_debug_info("bonjour", "We don't like invisible buddies, this is not a superheros comic\n"); 397 gaim_debug_info("bonjour", "We don't like invisible buddies, this is not a superheros comic\n");
398 close(client_socket); 398 close(client_socket);