Skip to content

Commit

Permalink
I cannot even write 2 LOC without an error...
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Dec 3, 2023
1 parent d6c8316 commit e2ee87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ void lo_server_resolve_hostname(lo_server s)
s->hostname = strdup(hostname);
#ifdef __APPLE__
/* On macOS, capital hostnames cause issues in DNS resolving */
for (const char* p = s->hostname; *p; ++p)
for (char* p = s->hostname; *p; ++p)
*p = tolower(*p);
#endif
}
Expand Down

0 comments on commit e2ee87c

Please sign in to comment.