From fb50ec96bf059d9d1edf6fa6993fbcec51c3544b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 20 Aug 2005 16:41:42 +0000 Subject: brown paper bug typo git-svn-id: file:///home/lennart/svn/public/avahi/trunk@361 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/static-services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit