mirror of https://github.com/D4-project/d4-core
start to insert errors at index 0
parent
94ef3750b5
commit
741018cc2b
|
@ -27,9 +27,9 @@ int d4_load_config(d4_t* d4)
|
|||
} else {
|
||||
d4->errno_copy = errno;
|
||||
if ( d4->err_idx < SZERRVALUE ) {
|
||||
d4->err_idx++;
|
||||
snprintf(d4->errors[d4->err_idx], SZERRVALUE,
|
||||
"Failed to load %s", d4params[i]);
|
||||
d4->err_idx++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue