X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-daemon%2Fstatic-hosts.c;h=8e16d8428d1061d1feae89295bc9951cf7f03547;hb=a3737cc61b48d7d435aadb573d3ef58e0849bf3d;hp=163ad303406e0d147de8590eb4c7c666c734c0ba;hpb=f7c9561ada9071a65a15288ba8c31b0fb66f48da;p=catta diff --git a/avahi-daemon/static-hosts.c b/avahi-daemon/static-hosts.c index 163ad30..8e16d84 100644 --- a/avahi-daemon/static-hosts.c +++ b/avahi-daemon/static-hosts.c @@ -176,8 +176,8 @@ void static_hosts_load(int in_chroot) { /* Set the end of the string to NULL */ s[strcspn(s, "#\r\n")] = 0; - /* Ignore comment (#) and blank lines (*/ - if (*s == '#' || *s == 0) + /* Ignore blank lines */ + if (*s == 0) continue; /* Read the first string (ip) up to the next whitespace */