outputs: fix typo

This commit is contained in:
Kurt Van Dijck 2015-05-25 18:11:22 +02:00
parent d125f0a1d3
commit 3b72651d7e
1 changed files with 1 additions and 1 deletions

View File

@ -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;