aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-01 14:04:15 +0100
committerMax Kellermann <max@duempel.org>2008-11-01 14:04:15 +0100
commitb996108675896e6b4be08f78e32f28bc6d454ad9 (patch)
treeede9f7297786a4da8c780c8c1118d3efcc756d85 /src/utils.c
parentaa33422de680989c5b7c4a91684886fd42e382cc (diff)
downloadmpd-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