commit 7b8d287b577c0c84cd79dbc66f35c3a7450afb73
parent 05275952416a7f9531eecf102969f9b6e839dcac
Author: sin <sin@2f30.org>
Date: Sat, 27 Dec 2014 00:57:12 +0000
No more prints
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/cmd.c b/cmd.c
@@ -95,8 +95,6 @@ cmdpause(int fd, char *arg)
dprintf(fd, "ERR no song is active\n");
return;
}
- printf("Song %s with id %d is %s\n",
- s->path, s->id, s->state == PAUSED ? "paused" : "playing");
dprintf(fd, "OK\n");
}
@@ -124,8 +122,6 @@ cmdplay(int fd, char *arg)
}
play(s);
- printf("Playing song %s with %d\n",
- s->path, s->id);
}
static void
@@ -186,8 +182,6 @@ cmdadd(int fd, char *arg)
dprintf(fd, "ERR cannot add file: %s\n", arg);
return;
}
- printf("Added song with path %s and id %d\n",
- s->path, s->id);
dprintf(fd, "OK\n");
}