libpurple/protocols/zephyr/zephyr.c

changeset 24809
36e86c987b15
parent 24808
a0fbd34db944
child 24810
fff179e5df02
equal deleted inserted replaced
24808:a0fbd34db944 24809:36e86c987b15
901 #ifdef HAVE_INET_NTOP 901 #ifdef HAVE_INET_NTOP
902 inet_ntop(AF_INET, &notice.z_sender_addr.s_addr, ipaddr, sizeof(ipaddr)); 902 inet_ntop(AF_INET, &notice.z_sender_addr.s_addr, ipaddr, sizeof(ipaddr));
903 #else 903 #else
904 memcpy(ipaddr,inet_ntoa(notice.z_sender_addr),sizeof(ipaddr)); 904 memcpy(ipaddr,inet_ntoa(notice.z_sender_addr),sizeof(ipaddr));
905 #endif 905 #endif
906 purple_conv_chat_add_user(gcc, sendertmp, ipaddr, PURPLE_CBFLAGS_NONE, TRUE); 906 purple_conv_chat_add_user(gcc, stripped_sender, ipaddr, PURPLE_CBFLAGS_NONE, TRUE);
907 } 907 }
908 g_free(sendertmp); 908 g_free(sendertmp);
909 serv_got_chat_in(gc, zt2->id, send_inst_utf8, 0, buf3, time(NULL)); 909 serv_got_chat_in(gc, zt2->id, send_inst_utf8, 0, buf3, time(NULL));
910 g_free(send_inst_utf8); 910 g_free(send_inst_utf8);
911 911

mercurial