diff options
author | Max Kellermann <max@duempel.org> | 2013-01-28 23:41:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-28 23:41:45 +0100 |
commit | 76417d44464248949e7843eee0d5338a8e0a22ac (patch) | |
tree | c8f6416505b7268ce4f3902660ba35f4e35d1c04 /test | |
parent | cffc78ad6a978c8ef0afae4fbdd4b189612a7167 (diff) | |
download | mpd-76417d44464248949e7843eee0d5338a8e0a22ac.tar.gz mpd-76417d44464248949e7843eee0d5338a8e0a22ac.tar.xz mpd-76417d44464248949e7843eee0d5338a8e0a22ac.zip |
InputStream: use std::string
Diffstat (limited to '')
-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 db3e4dc80..157613dbc 100644 --- a/test/run_input.cxx +++ b/test/run_input.cxx @@ -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 */ |