diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-04 19:02:23 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-04 19:02:23 +0000 |
commit | cbdc0b1534282a1a8aae25a90b5f918ca8a9db12 (patch) | |
tree | ca662352ac1555cdd9f93842958070944f7ff2bd /src/stats.h | |
parent | caa17db85e2401f1ed9e4ddcc587ba8d511f79fb (diff) | |
download | mpd-cbdc0b1534282a1a8aae25a90b5f918ca8a9db12.tar.gz mpd-cbdc0b1534282a1a8aae25a90b5f918ca8a9db12.tar.xz mpd-cbdc0b1534282a1a8aae25a90b5f918ca8a9db12.zip |
Use strncasecmp instead of strncmp when comparing HTTP headers. It seems
some versions of shoutcast send "content-type" in all lowercase, and I
don't trust other servers to get the case right for the rest of the headers
we look for.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6482 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions