0a91596a5df05759403e2b4c1ec5c05dc4d0c004
[deb_shairplay.git] / debian / patches / passwd-auth-with-itunes.patch
1 --- a/src/lib/raop.c.orig 2013-04-17 15:17:49.000000000 +0200
2 +++ b/src/lib/raop.c 2014-03-24 23:22:30.000000000 +0100
3 @@ -139,7 +139,7 @@
4 }
5
6 res = http_response_init("RTSP/1.0", 200, "OK");
7 - if (strlen(raop->password)) {
8 + if (strcmp(method, "OPTIONS") && strlen(raop->password)) {
9 const char *authorization;
10
11 authorization = http_request_get_header(request, "Authorization");
12