InputStream: use std::string

This commit is contained in:
Max Kellermann
2013-01-28 23:41:45 +01:00
parent cffc78ad6a
commit 76417d4446
8 changed files with 27 additions and 35 deletions

View File

@@ -69,8 +69,8 @@ dump_input_stream(struct input_stream *is)
/* print meta data */
if (is->mime != NULL)
g_printerr("MIME type: %s\n", is->mime);
if (!is->mime.empty())
g_printerr("MIME type: %s\n", is->mime.c_str());
/* read data and tags from the stream */