From: Kurt Van Dijck Date: Mon, 25 May 2015 16:11:22 +0000 (+0200) Subject: outputs: fix typo X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=3b72651d7e9aac9977db04ce21499f3354673784;p=ympd.git outputs: fix typo --- diff --git a/src/mpd_client.c b/src/mpd_client.c index 48772bc..f2e61e1 100644 --- a/src/mpd_client.c +++ b/src/mpd_client.c @@ -450,7 +450,7 @@ int mpd_put_outputs(char *buffer, int names) str = buffer; strend = buffer+MAX_SIZE; str += snprintf(str, strend-str, "{\"type\":\"%s\", \"data\":{", - names ? "outputnames" : "output"); + names ? "outputnames" : "outputs"); mpd_send_outputs(mpd.conn); nout = 0;