aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_input.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-11 15:34:48 +0200
committerMax Kellermann <max@duempel.org>2014-05-11 15:34:48 +0200
commit6773adc7716eea7656c4590b54f7c99840ff4087 (patch)
treeb71756798018721f3aa472ce1b81aa14e84239b8 /test/run_input.cxx
parentee2afb35dd715d9f34a938cd54ed02a3c0091a78 (diff)
downloadmpd-6773adc7716eea7656c4590b54f7c99840ff4087.tar.gz
mpd-6773adc7716eea7656c4590b54f7c99840ff4087.tar.xz
mpd-6773adc7716eea7656c4590b54f7c99840ff4087.zip
InputStream: convert to class
Diffstat (limited to '')
-rw-r--r--test/run_input.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_input.cxx b/test/run_input.cxx
index 539171ad8..4a35e1479 100644
--- a/test/run_input.cxx
+++ b/test/run_input.cxx
@@ -52,8 +52,8 @@ dump_input_stream(InputStream *is)
/* print meta data */
- if (!is->mime.empty())
- fprintf(stderr, "MIME type: %s\n", is->mime.c_str());
+ if (is->HasMimeType())
+ fprintf(stderr, "MIME type: %s\n", is->GetMimeType());
/* read data and tags from the stream */