]> arthur.barton.de Git - netdata.git/blobdiff - src/registry.c
varnish plugin: now uses PATH env variable to find varnishstat binary
[netdata.git] / src / registry.c
index 97bda8093a625811335c640faee339f686883652..d223cd6f1e5076efe4714b32deff61ab4820c35d 100644 (file)
@@ -158,7 +158,7 @@ int registry_request_access_json(struct web_client *w, char *person_guid, char *
         return 200;
     }
 
-    if(unlikely(person_guid[0] && !strsame(person_guid, REGISTRY_VERIFY_COOKIES_GUID)))
+    if(unlikely(person_guid[0] && !strcmp(person_guid, REGISTRY_VERIFY_COOKIES_GUID)))
         person_guid[0] = '\0';
 
     // ------------------------------------------------------------------------