diff -ru esound-0.2.29.orig/esdlib.c esound-0.2.29/esdlib.c --- esound-0.2.29.orig/esdlib.c 2002-07-15 10:28:26.000000000 +0100 +++ esound-0.2.29/esdlib.c 2003-03-22 14:23:09.000000000 +0000 @@ -558,7 +558,7 @@ static int is_host_local(const char* host) { char hnbuf[256]=""; - if (!host || (*host)) return 1; + if (!host || (!*host)) return 1; gethostname(hnbuf, sizeof(hnbuf)); return (!strcasecmp(host,hnbuf) || !strcasecmp(host, "localhost"));