libpurple/protocols/bonjour/mdns_common.c

changeset 40094
8e6d91e4dd8f
parent 39960
4a5610d858ef
child 40137
016690872c6c
--- a/libpurple/protocols/bonjour/mdns_common.c	Wed Oct 30 22:19:59 2019 -0400
+++ b/libpurple/protocols/bonjour/mdns_common.c	Wed Oct 30 23:25:39 2019 -0400
@@ -85,7 +85,7 @@
 	const char *jid, *aim, *email;
 
 	/* Convert the port to a string */
-	snprintf(portstring, sizeof(portstring), "%d", data->port_p2pj);
+	g_snprintf(portstring, sizeof(portstring), "%d", data->port_p2pj);
 
 	jid = purple_account_get_string(data->account, "jid", NULL);
 	aim = purple_account_get_string(data->account, "AIM", NULL);

mercurial