--- a/libpurple/protocols/bonjour/jabber.c Mon Nov 12 03:41:20 2007 +0000 +++ b/libpurple/protocols/bonjour/jabber.c Mon Nov 12 04:17:10 2007 +0000 @@ -1016,6 +1016,7 @@ return 0; } +/* This returns a ';' delimited string containing all non-localhost IPs */ char * purple_network_get_my_ip_ext2(int fd) { @@ -1040,7 +1041,8 @@ if (fd < 0) close(source); - memset(ip_ext, 0, 17 * 10); + + memset(ip_ext, 0, sizeof(ip_ext)); memcpy(ip_ext, "0.0.0.0", 7); tmp = buffer; tip = ip_ext;