--- 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);