diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
commit | 59f8144c50765189594d5932fc25869f9ea6e265 (patch) | |
tree | f460d9f46a99040dea402bcb3ad2d84a0e734285 /src/IcyMetaDataServer.cxx | |
parent | 5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff) | |
download | mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip |
*: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r-- | src/IcyMetaDataServer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IcyMetaDataServer.cxx b/src/IcyMetaDataServer.cxx index 255f5b53f..67b20852c 100644 --- a/src/IcyMetaDataServer.cxx +++ b/src/IcyMetaDataServer.cxx @@ -77,7 +77,7 @@ icy_server_metadata_string(const char *stream_title, const char* stream_url) if (meta_length > 255) { delete[] icy_metadata; - return NULL; + return nullptr; } return icy_metadata; @@ -124,8 +124,8 @@ icy_server_metadata_page(const Tag &tag, const enum tag_type *types) icy_string = icy_server_metadata_string(stream_title, ""); - if (icy_string == NULL) - return NULL; + if (icy_string == nullptr) + return nullptr; Page *icy_metadata = Page::Copy(icy_string, (icy_string[0] * 16) + 1); |