diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-04-30 01:50:29 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-04-30 01:50:29 +0000 |
commit | a97110661c26049d73f2fa6fe2f80372fb047ee4 (patch) | |
tree | e13237f4d05a8200eef2daf8aca1b3b9248389e3 /src/utils.c | |
parent | ead82e4d5ab80f466bca2dc0c5406d2b56cf00bd (diff) | |
download | mpd-a97110661c26049d73f2fa6fe2f80372fb047ee4.tar.gz mpd-a97110661c26049d73f2fa6fe2f80372fb047ee4.tar.xz mpd-a97110661c26049d73f2fa6fe2f80372fb047ee4.zip |
fix bug 421: database read failed with newline in ID3-tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@3231 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 32b079353..f3d0effb0 100644 --- a/src/utils.c +++ b/src/utils.c @@ -48,7 +48,7 @@ char * strDupToUpper(char * str) { } void stripReturnChar(char * string) { - while(string && (string = strstr(string,"\n"))) { + while(string && (string = strchr(string,'\n'))) { *string = ' '; } } |