X-Git-Url: https://git.piment-noir.org/?p=deb_shairplay.git;a=blobdiff_plain;f=debian%2Fpatches%2Fpasswd-auth-with-itunes.patch;fp=debian%2Fpatches%2Fpasswd-auth-with-itunes.patch;h=0a91596a5df05759403e2b4c1ec5c05dc4d0c004;hp=0000000000000000000000000000000000000000;hb=6c0346390f001f8916a45f46eccd047a019258ef;hpb=15c988f7c658c689d3485ca35ccbbafa736df98c diff --git a/debian/patches/passwd-auth-with-itunes.patch b/debian/patches/passwd-auth-with-itunes.patch new file mode 100644 index 0000000..0a91596 --- /dev/null +++ b/debian/patches/passwd-auth-with-itunes.patch @@ -0,0 +1,12 @@ +--- a/src/lib/raop.c.orig 2013-04-17 15:17:49.000000000 +0200 ++++ b/src/lib/raop.c 2014-03-24 23:22:30.000000000 +0100 +@@ -139,7 +139,7 @@ + } + + res = http_response_init("RTSP/1.0", 200, "OK"); +- if (strlen(raop->password)) { ++ if (strcmp(method, "OPTIONS") && strlen(raop->password)) { + const char *authorization; + + authorization = http_request_get_header(request, "Authorization"); +