summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-core/entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c
index 360b504..22e9ba9 100644
--- a/avahi-core/entry.c
+++ b/avahi-core/entry.c
@@ -239,7 +239,7 @@ static AvahiEntry * server_add_internal(
{
result++ = strlen(label);
- while(*out)
+ while(*label)
result++ = label++;
}