]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/static-services.c
brown paper bug typo
[catta] / avahi-daemon / static-services.c
index d4198c44ca9fdccd5357112cde8eb7b2c7590d91..c0fbea5e61342ccba0f6432e85d9f91fb902c848 100644 (file)
@@ -395,7 +395,7 @@ static void XMLCALL xml_end(void *data, const char *el) {
             int protocol;
             assert(u->service);
 
-            if (u->buf & &strcasecmp (u->buf, "ipv4") == 0) {
+            if (u->buf &strcasecmp (u->buf, "ipv4") == 0) {
                 protocol = AVAHI_PROTO_INET;
             } else if (u->buf && strcasecmp (u->buf, "ipv6") == 0) {
                 protocol = AVAHI_PROTO_INET6;