[daap] Diff of DAAPD 0.2.4a fix for iTunes 4.5+.

Current page:version 7last modified on 17. November (18:49:46)by 129.98.50.140
Archived page:version 6last modified on 17. November (10:05:02)by 129.98.50.211

@@ -1,6 +1,6 @@
 !Fixing DAAPD 0.2.4a for iTunes 5 and 6
 
-Following kosh_003's suggestion, I changed 'int parse_path' in daapd.cc before 'make.' Basically, the strncmp function is replaced with strcasestr. With this (and with this too in case of Mac OS 10.4, [DAAPD 0.2.4 installation on Mac OS 10.4]), DAAPD 0.2.4a works with iTunes 5 or 6.0.1 clients on both Windows 2000 and Mac OS 10.4 (over Rendezvous Proxy and Network Beacon).
+Following kosh_003's suggestion, I changed 'int parsePath' in daapd.cc before 'make.' Basically, the strncmp function (case-sensitive comparison of not-more-than n characters of a string with another) is replaced with strcasestr (case-insensitive check for string in a string). With this (and with this too in case of Mac OS 10.4, [DAAPD 0.2.4 installation on Mac OS 10.4]), DAAPD 0.2.4a works with iTunes 5 or 6.0.1 clients on both Windows 2000 and Mac OS 10.4 (over Rendezvous Proxy and Network Beacon).
 
  int parsePath( httpd *server, Request &request ) {
  char *path = httpdRequestPath( server );