diff options
author | Max Kellermann <max@duempel.org> | 2008-11-01 14:04:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-01 14:04:15 +0100 |
commit | b996108675896e6b4be08f78e32f28bc6d454ad9 (patch) | |
tree | ede9f7297786a4da8c780c8c1118d3efcc756d85 /src/utils.c | |
parent | aa33422de680989c5b7c4a91684886fd42e382cc (diff) | |
download | mpd-b996108675896e6b4be08f78e32f28bc6d454ad9.tar.gz mpd-b996108675896e6b4be08f78e32f28bc6d454ad9.tar.xz mpd-b996108675896e6b4be08f78e32f28bc6d454ad9.zip |
tag: don't return const string from fix_utf8()
Return NULL instead of the input value if there is nothing to fix.
This way, the caller doesn't have to use the xfree() hack.
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions