diff options
author | Max Kellermann <max@duempel.org> | 2009-01-14 13:44:14 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-14 13:44:14 +0100 |
commit | 642b861526084658a7b10beb9cbb81000d23432d (patch) | |
tree | e6ae8e71ce584955a2b1b35fe753a87adfc582dd /src/cmdline.c | |
parent | 3c6a85d8f7f68b5f85eca0c7f8363ae520154bd0 (diff) | |
download | mpd-642b861526084658a7b10beb9cbb81000d23432d.tar.gz mpd-642b861526084658a7b10beb9cbb81000d23432d.tar.xz mpd-642b861526084658a7b10beb9cbb81000d23432d.zip |
song_save: don't fail on empty tag values
If a tag value is an empty string, the space after the colon was
removed by g_strchomp(). Fix this by removing the space check and
using g_strchug() on the return value.
Diffstat (limited to 'src/cmdline.c')
0 files changed, 0 insertions, 0 deletions