summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-20 16:41:42 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-20 16:41:42 +0000
commitfb50ec96bf059d9d1edf6fa6993fbcec51c3544b (patch)
treee3902a622986c8d4488caf0eaf480ef381f08b5d
parentc08b2340a6a4a2f176672d692a41a75153c35f0e (diff)
brown paper bug typo
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@361 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-daemon/static-services.c2
1 files changed, 1 insertions, 1 deletions
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;