summaryrefslogtreecommitdiffstats
path: root/avahi-core/browse.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/browse.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/browse.c')
-rw-r--r--avahi-core/browse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-core/browse.c b/avahi-core/browse.c
index e7e01d1..5fd3a01 100644
--- a/avahi-core/browse.c
+++ b/avahi-core/browse.c
@@ -36,7 +36,7 @@
#include "log.h"
#include "querier.h"
-#define AVAHI_MAX_LOOKUPS_PER_BROWSER 15
+#define AVAHI_LOOKUPS_PER_BROWSER_MAX 15
struct AvahiSRBLookup {
AvahiSRecordBrowser *record_browser;
@@ -92,7 +92,7 @@ static AvahiSRBLookup* lookup_new(
assert(AVAHI_IF_VALID(interface));
assert(AVAHI_PROTO_VALID(protocol));
- if (b->n_lookups >= AVAHI_MAX_LOOKUPS_PER_BROWSER)
+ if (b->n_lookups >= AVAHI_LOOKUPS_PER_BROWSER_MAX)
/* We don't like cyclic CNAMEs */
return NULL;