Thu, 13 Feb 2020 20:09:23 -0600
Mark a variable as const
| libpurple/protocols/jabber/message.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/jabber/message.c Wed Feb 05 02:27:50 2020 -0600 +++ b/libpurple/protocols/jabber/message.c Thu Feb 13 20:09:23 2020 -0600 @@ -107,7 +107,7 @@ static void handle_chat(JabberMessage *jm) { - gchar *contact = jm->from; + const gchar *contact = jm->from; JabberID *jid = jabber_id_new(contact); PurpleConnection *gc;