1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-27 03:10:26 +00:00

outputs: fix typo

This commit is contained in:
Kurt Van Dijck 2015-05-25 18:11:22 +02:00
parent d125f0a1d3
commit 3b72651d7e

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;