libpurple/protocols/bonjour/jabber.c

changeset 19832
84b69b21672b
parent 19749
21cc72fa3f6f
child 19859
71d37b57eff2
equal deleted inserted replaced
19831:0853a065e5c3 19832:84b69b21672b
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);

mercurial