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 */
static int parse_command_line(int argc, char *argv[]) {
int c;
- static const struct option const long_options[] = {
+ static const struct option long_options[] = {
{ "help", no_argument, NULL, 'h' },
{ "daemonize", no_argument, NULL, 'D' },
{ "kill", no_argument, NULL, 'k' },