diff options
author | 2010-01-05 20:39:23 +0100 | |
---|---|---|
committer | 2010-01-05 20:39:23 +0100 | |
commit | 7e95aeb4ff7637fa6a187f77c3dc134a523e498a (patch) | |
tree | 7ce16103a3f6396d859f428bf14621f374f762d4 /main.c | |
parent | 0dd5e4dc7d4d0b3d2b452b184bbd2a53ad1b08de (diff) |
fixed nowplaying output
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -487,11 +487,11 @@ main (int argc, char *argv[]) { const char err[] = "error "; if (!strncmp (out, np, sizeof (np)-1)) { const char *prn = &out[sizeof (np)-1]; - printf (prn); + puts (prn); } else if (!strncmp (out, err, sizeof (err)-1)) { const char *prn = &out[sizeof (err)-1]; - fprintf (stderr, prn); + fputs (prn, stderr); } else if (out[0]) { fprintf (stderr, "got unkown response:\n%s\n", out); |