From ed03c909160a35a7162aa44bd0c8e4ee577d4ccf Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Fri, 29 Jul 2016 19:26:46 +0200 Subject: [PATCH] [mpd] Fix typos --- src/mpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpd.c b/src/mpd.c index cf1b5866..39f17766 100644 --- a/src/mpd.c +++ b/src/mpd.c @@ -3349,7 +3349,7 @@ mpd_command_enableoutput(struct evbuffer *evbuf, int argc, char **argv, char **e if (argc < 2) { - ret = asprintf(errmsg, "Missing argument for command 'disableoutput'"); + ret = asprintf(errmsg, "Missing argument for command 'enableoutput'"); if (ret < 0) DPRINTF(E_LOG, L_MPD, "Out of memory\n"); return ACK_ERROR_ARG; @@ -3440,7 +3440,7 @@ mpd_command_toggleoutput(struct evbuffer *evbuf, int argc, char **argv, char **e if (argc < 2) { - ret = asprintf(errmsg, "Missing argument for command 'disableoutput'"); + ret = asprintf(errmsg, "Missing argument for command 'toggleoutput'"); if (ret < 0) DPRINTF(E_LOG, L_MPD, "Out of memory\n"); return ACK_ERROR_ARG;