small fixes, make all compile is same tree

This commit is contained in:
Laurent THOMAS
2021-05-11 14:34:27 +02:00
parent 2508a020ec
commit 7d3c60ed37
10 changed files with 14 additions and 22 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ int config_process_cmdline(paramdef_t *cfgoptions,int numoptions, char *prefix)
while (c > 0 ) {
char *oneargv = strdup(config_get_if()->argv[i]); /* we use strtok_r which modifies its string paramater, and we don't want argv to be modified */
if(!oneargv) abort();
/* first check help options, either --help, -h or --help_<section> */
if (strncmp(oneargv, "-h",2) == 0 || strncmp(oneargv, "--help",6) == 0 ) {
char *tokctx = NULL;