* but it is not specified in the current command.
* Daemon is only implied in this case if set in ENV
*/
- if (addr != NULL && ! strcmp(addr,""))
+ if (addr != NULL && strcmp(addr,"") != 0)
return 1;
else
return 0;
addr = getenv (ENV_RRDCACHED_ADDRESS);
}
- if (addr == NULL || ! strcmp(addr,"")) {
+ if (addr == NULL || strcmp(addr,"") == 0) {
addr = NULL;
return 0;
}