Trivial fix for #149
parent
9ead56c24e
commit
6abdcc363a
|
@ -92,7 +92,7 @@ void DecodeDirective(char *line, IOR_param_t *params, options_all_t * module_opt
|
|||
char value[MAX_STR];
|
||||
int rc;
|
||||
int initialized;
|
||||
|
||||
|
||||
rc = sscanf(line, " %[^=# \t\r\n] = %[^# \t\r\n] ", option, value);
|
||||
if (rc != 2 && rank == 0) {
|
||||
fprintf(out_logfile, "Syntax error in configuration options: %s\n",
|
||||
|
@ -309,9 +309,6 @@ void DecodeDirective(char *line, IOR_param_t *params, options_all_t * module_opt
|
|||
}
|
||||
}
|
||||
|
||||
static void decodeDirectiveWrapper(char *line){
|
||||
DecodeDirective(line, parameters, global_options);
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse a single line, which may contain multiple comma-seperated directives
|
||||
|
@ -333,6 +330,11 @@ void ParseLine(char *line, IOR_param_t * test, options_all_t * module_options)
|
|||
} while (end != NULL);
|
||||
}
|
||||
|
||||
|
||||
static void decodeDirectiveWrapper(char *line){
|
||||
ParseLine(line, parameters, global_options);
|
||||
}
|
||||
|
||||
/*
|
||||
* Determines if the string "haystack" contains only the string "needle", and
|
||||
* possibly whitespace before and after needle. Function is case insensitive.
|
||||
|
|
Loading…
Reference in New Issue