mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 02:38:09 -05:00
[raop] Make txt record comparison case insensitive
Should fix issue with TuneAero for Windows Closes #1596
This commit is contained in:
parent
90e0be07e2
commit
9e93e130db
@ -44,6 +44,7 @@
|
||||
#include <netdb.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <strings.h> // strcasecmp
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
@ -4174,7 +4175,7 @@ raop_device_cb(const char *name, const char *type, const char *domain, const cha
|
||||
}
|
||||
else
|
||||
{
|
||||
rd->has_password = (strcmp(p, "false") != 0);
|
||||
rd->has_password = (strcasecmp(p, "false") != 0);
|
||||
}
|
||||
|
||||
if (rd->has_password)
|
||||
|
Loading…
x
Reference in New Issue
Block a user