diff options
Diffstat (limited to 'avahi-dnsconfd')
-rw-r--r-- | avahi-dnsconfd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-dnsconfd/main.c b/avahi-dnsconfd/main.c index 26b479e..078efc9 100644 --- a/avahi-dnsconfd/main.c +++ b/avahi-dnsconfd/main.c @@ -257,7 +257,7 @@ static void set_env(const char *name, const char *value) { if (strlen(*e) < l+1) continue; - if (strncmp(*e, name, l) != 0 || *e[l] != '=') + if (strncmp(*e, name, l) != 0 || (*e)[l] != '=') continue; /* We simply free the record, sicne we know that we created it previously */ |