pidgin/pidgin

Mark a variable as const

2020-02-13, Richard Laager
e2a342b61dde
Parents c60c4f96749d
Children 90be91762626
Mark a variable as const
--- 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;