summaryrefslogtreecommitdiffstats
path: root/avahi-core/dns.c
diff options
context:
space:
mode:
authorFederico Lucifredi <flucifredi@acm.org>2007-12-27 05:02:06 +0000
committerFederico Lucifredi <flucifredi@acm.org>2007-12-27 05:02:06 +0000
commitfab3ce2f8ccedb6a8e657317349071539c25667e (patch)
tree443a211a2753bc68ce1a0ee4e767aaee672b3b87 /avahi-core/dns.c
parentf0174295e48d59324286dc75e2b4058aa9e7f06b (diff)
test
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1636 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/dns.c')
-rw-r--r--avahi-core/dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-core/dns.c b/avahi-core/dns.c
index e69b88a..2e1aa26 100644
--- a/avahi-core/dns.c
+++ b/avahi-core/dns.c
@@ -193,8 +193,8 @@ uint8_t* avahi_dns_packet_append_name(AvahiDnsPacket *p, const char *name) {
if (!(t = (uint8_t*) avahi_dns_packet_extend(p, sizeof(uint16_t))))
return NULL;
- t[0] = (uint8_t) ((0xC000 | idx) >> 8);
- t[1] = (uint8_t) idx;
+ t[0] = (uint8_t) ((0xC000 | idx) >> 8);
+ t[1] = (uint8_t) idx;
return saved_ptr;
}
}