InputStream: convert to class

This commit is contained in:
Max Kellermann
2014-05-11 15:34:48 +02:00
parent ee2afb35dd
commit 6773adc771
31 changed files with 132 additions and 70 deletions

View File

@@ -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 */