diff libpurple/network.c @ 26984:d2424873c666

propagate from branch 'im.pidgin.pidgin' (head 36e85b01808a3c6e32116cb8b71b10e31b0da072) to branch 'im.pidgin.cpw.malu.client_type' (head 23d0d225ef28e21781c194b5c243757309028a55)
author Marcus Lundblad <ml@update.uu.se>
date Sun, 17 May 2009 19:04:15 +0000
parents 8290e36a5a73
children 38c4973b5222
line wrap: on
line diff
--- a/libpurple/network.c	Wed May 13 20:37:46 2009 +0000
+++ b/libpurple/network.c	Sun May 17 19:04:15 2009 +0000
@@ -303,7 +303,7 @@
 	/*
 	 * Get a list of addresses on this machine.
 	 */
-	snprintf(serv, sizeof(serv), "%hu", port);
+	g_snprintf(serv, sizeof(serv), "%hu", port);
 	memset(&hints, 0, sizeof(struct addrinfo));
 	hints.ai_flags = AI_PASSIVE;
 	hints.ai_family = AF_UNSPEC;