Mercurial > pidgin
diff libpurple/dnssrv.c @ 30550:47ea27481972
Fix some cases where an arbitrary string was being specified as a printf format.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 17 Sep 2010 14:40:13 +0000 |
parents | 55cda40d5cf4 |
children | 08dcd2d4f0b7 |
line wrap: on
line diff
--- a/libpurple/dnssrv.c Fri Sep 17 14:32:31 2010 +0000 +++ b/libpurple/dnssrv.c Fri Sep 17 14:40:13 2010 +0000 @@ -534,7 +534,7 @@ PurpleSrvResponse *srvres = NULL; PurpleSrvQueryData *query_data = data; if(query_data->error_message != NULL) { - purple_debug_error("dnssrv", query_data->error_message); + purple_debug_error("dnssrv", "%s", query_data->error_message); if (query_data->type == DNS_TYPE_SRV) { if (query_data->cb.srv) query_data->cb.srv(srvres, 0, query_data->extradata);