aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-03-03 13:07:34 -0800
committerAvuton Olrich <avuton@gmail.com>2009-03-03 13:12:39 -0800
commit3e5a44546705f149a5ef391e613505413c99d1c1 (patch)
treed664435502342bfa9bc86d5c280421487ace7561 /src/ls.c
parent3b76ca7186e48c6888e3fd57d8dba4765a53995e (diff)
downloadmpd-3e5a44546705f149a5ef391e613505413c99d1c1.tar.gz
mpd-3e5a44546705f149a5ef391e613505413c99d1c1.tar.xz
mpd-3e5a44546705f149a5ef391e613505413c99d1c1.zip
ls: Print output of supported uri to fp rather than stdout.
Since there are no other callers than stdout, this wouldn't be a problem, but since there maybe in the future go ahead and fix it.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 92b8a213e..aa587f132 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -57,7 +57,7 @@ void print_supported_uri_schemes_to_fp(FILE *fp)
fprintf(fp, "%s ", *prefixes);
prefixes++;
}
- puts("\n");
+ fprintf(fp,"\n");
}
void print_supported_uri_schemes(struct client *client)