diff options
Diffstat (limited to 'test')
-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 */ |