Commit 00215a99 authored by Lee Savoie's avatar Lee Savoie

Ensure error conditions are caught when reading config

parent bbae9bca
......@@ -293,7 +293,7 @@ static void base_read_config(const char * anno, model_net_base_params *p){
ret = configuration_get_value(&config, "PARAMS",
"prio-sched-sub-sched", anno, sched, MAX_NAME_LENGTH);
if (ret == 0)
if (ret <= 0)
*sub_stype = MN_SCHED_FCFS;
else{
int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment