summaryrefslogtreecommitdiffstats
path: root/avahi-core/probe-sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/probe-sched.c')
-rw-r--r--avahi-core/probe-sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-core/probe-sched.c b/avahi-core/probe-sched.c
index 8a4d8b0..71359b5 100644
--- a/avahi-core/probe-sched.c
+++ b/avahi-core/probe-sched.c
@@ -247,8 +247,8 @@ static void elapse_callback(AvahiTimeEvent *e, void* data) {
avahi_record_get_estimate_size(pj->record) +
AVAHI_DNS_PACKET_HEADER_SIZE;
- if (size > AVAHI_DNS_PACKET_MAX_SIZE)
- size = AVAHI_DNS_PACKET_MAX_SIZE;
+ if (size > AVAHI_DNS_PACKET_SIZE_MAX)
+ size = AVAHI_DNS_PACKET_SIZE_MAX;
if (!(p = avahi_dns_packet_new_query(size)))
return; /* OOM */