Code

mpdclient: pass const message to error callback
authorMax Kellermann <max@duempel.org>
Thu, 11 Jun 2009 12:04:08 +0000 (14:04 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 11 Jun 2009 12:04:08 +0000 (14:04 +0200)
src/mpdclient.c

index b1d927b63e74cf1497385f01eaa39fa66104da1c..289633880d7869e99477c5f0cb2c5f77e315c3cd 100644 (file)
@@ -95,7 +95,7 @@ compare_filelistentry_format(gconstpointer filelist_entry1,
 
 /* Error callbacks */
 static gint
-error_cb(mpdclient_t *c, gint error, gchar *msg)
+error_cb(mpdclient_t *c, gint error, const gchar *msg)
 {
        GList *list = c->error_callbacks;