diff options
author | Max Kellermann <max@duempel.org> | 2014-05-11 15:34:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-05-11 15:34:48 +0200 |
commit | 6773adc7716eea7656c4590b54f7c99840ff4087 (patch) | |
tree | b71756798018721f3aa472ce1b81aa14e84239b8 /test/run_input.cxx | |
parent | ee2afb35dd715d9f34a938cd54ed02a3c0091a78 (diff) |
InputStream: convert to class
Diffstat (limited to 'test/run_input.cxx')
-rw-r--r-- | test/run_input.cxx | 4 |
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 */ |