From: Lennart Poettering Date: Sat, 20 Aug 2005 16:41:42 +0000 (+0000) Subject: brown paper bug typo X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=fb50ec96bf059d9d1edf6fa6993fbcec51c3544b;p=catta brown paper bug typo git-svn-id: file:///home/lennart/svn/public/avahi/trunk@361 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-daemon/static-services.c b/avahi-daemon/static-services.c index d4198c4..c0fbea5 100644 --- a/avahi-daemon/static-services.c +++ b/avahi-daemon/static-services.c @@ -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;