summaryrefslogtreecommitdiffstats
path: root/avahi-core/dns.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-24 23:56:34 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-24 23:56:34 +0000
commit3073103812f0ea376582eb0ff1479945a847b361 (patch)
treee9b7fbc96b6866747ef7b856afa863b88e409a65 /avahi-core/dns.c
parent5c0f7327451ba44f43aaaf28816c7ed172128ccc (diff)
* rename all limit defs so that they end with _MAX
* fix some minor typos git-svn-id: file:///home/lennart/svn/public/avahi/trunk@863 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/dns.c')
-rw-r--r--avahi-core/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/dns.c b/avahi-core/dns.c
index a9ccda5..8c8b42b 100644
--- a/avahi-core/dns.c
+++ b/avahi-core/dns.c
@@ -41,7 +41,7 @@ AvahiDnsPacket* avahi_dns_packet_new(unsigned mtu) {
size_t max_size;
if (mtu <= 0)
- max_size = AVAHI_DNS_PACKET_MAX_SIZE;
+ max_size = AVAHI_DNS_PACKET_SIZE_MAX;
else if (mtu >= AVAHI_DNS_PACKET_EXTRA_SIZE)
max_size = mtu - AVAHI_DNS_PACKET_EXTRA_SIZE;
else