From 6773adc7716eea7656c4590b54f7c99840ff4087 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 15:34:48 +0200 Subject: InputStream: convert to class --- test/run_input.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/run_input.cxx') 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 */ -- cgit v1.2.3