diff options
author | waker <wakeroid@gmail.com> | 2011-11-15 19:02:28 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-11-15 19:02:28 +0100 |
commit | 457c5b97a115193a55f14b3b0feb783a8027c8bf (patch) | |
tree | 1e9cabd2fe8c3a8a5113625d64a84f46623cd4d3 /plugins/vfs_curl | |
parent | d3456fbbeb6582fca555b175eb147282c20c7680 (diff) |
vfs_curl: fixed icy header parser bug causing \n not being stripped from values
Diffstat (limited to 'plugins/vfs_curl')
-rw-r--r-- | plugins/vfs_curl/vfs_curl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/vfs_curl/vfs_curl.c b/plugins/vfs_curl/vfs_curl.c index 5b1add5a..1b931cc0 100644 --- a/plugins/vfs_curl/vfs_curl.c +++ b/plugins/vfs_curl/vfs_curl.c @@ -429,7 +429,7 @@ parse_header (const uint8_t *p, const uint8_t *e, uint8_t *key, int keysize, uin p = v; // find linebreak - while (v < e && *v != 0x0d || *v == 0x0a) { + while (v < e && *v != 0x0d && *v != 0x0a) { v++; } |