outputs: fix typo
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Mon, 25 May 2015 16:11:22 +0000 (18:11 +0200)
committerKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Mon, 25 May 2015 16:11:22 +0000 (18:11 +0200)
src/mpd_client.c

index 48772bc..f2e61e1 100644 (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;