From 3b72651d7e9aac9977db04ce21499f3354673784 Mon Sep 17 00:00:00 2001 From: Kurt Van Dijck Date: Mon, 25 May 2015 18:11:22 +0200 Subject: [PATCH] outputs: fix typo --- src/mpd_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1