diff options
-rw-r--r-- | avahi-core/rr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/rr.c b/avahi-core/rr.c index 46aa7a2..8b7fab7 100644 --- a/avahi-core/rr.c +++ b/avahi-core/rr.c @@ -303,7 +303,7 @@ char *avahi_record_to_string(const AvahiRecord *r) { for (c = r->data.generic.data, n = r->data.generic.size, i = 0; n > 0 && i < 20; - c ++, n --) { + c ++, n --, i++) { sprintf(e, " %02X", *c); e = strchr(e, 0); |