]> git.meshlink.io Git - catta/blobdiff - avahi-dnsconfd/main.c
Include qt mainloop adapter in build system. Moc finding code is cracktastic thanks to
[catta] / avahi-dnsconfd / main.c
index 26b479ec39544b984615cffb25290fb0c698b0ac..078efc9adeaabede679e8c855a5fc72e8e00662e 100644 (file)
@@ -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 */