diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-29 00:07:26 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-29 00:07:26 +0000 |
commit | 1a031ba05195b9c9c22427481bfce33a3a14ebb9 (patch) | |
tree | 04094268518731c414ae6245448f5f3c6957c8e2 /avahi-dnsconfd/main.c | |
parent | fbab0330b0b49bb771485d62970b7c863f9ca0e2 (diff) |
fix avahi-dnsconfd segfault
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@488 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-dnsconfd/main.c')
-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 */ |