| 535 |
535 |
| 536 fcntl(client_socket, F_SETFL, O_NONBLOCK); |
536 fcntl(client_socket, F_SETFL, O_NONBLOCK); |
| 537 |
537 |
| 538 /* Look for the buddy that has opened the conversation and fill information */ |
538 /* Look for the buddy that has opened the conversation and fill information */ |
| 539 address_text = inet_ntoa(their_addr.sin_addr); |
539 address_text = inet_ntoa(their_addr.sin_addr); |
| 540 purple_debug_info("bonjour", "Received incoming connection from %s\n.", address_text); |
540 purple_debug_info("bonjour", "Received incoming connection from %s.\n", address_text); |
| 541 cbba = g_new0(struct _check_buddy_by_address_t, 1); |
541 cbba = g_new0(struct _check_buddy_by_address_t, 1); |
| 542 cbba->address = address_text; |
542 cbba->address = address_text; |
| 543 cbba->pb = &pb; |
543 cbba->pb = &pb; |
| 544 cbba->bj = data; |
544 cbba->bj = data; |
| 545 g_hash_table_foreach(bl->buddies, _check_buddy_by_address, cbba); |
545 g_hash_table_foreach(bl->buddies, _check_buddy_by_address, cbba); |