code review comments

This commit is contained in:
laurent
2022-08-18 16:43:26 +02:00
parent 8b159d6ddc
commit d6d4d87e0b
9 changed files with 44 additions and 32 deletions
+3 -1
View File
@@ -54,7 +54,9 @@ int parse_stringlist(paramdef_t *cfgoptions, char *val) {
free(tmpval);
AssertFatal(MAX_LIST_SIZE > numelt, "");
AssertFatal(MAX_LIST_SIZE > numelt,
"This piece of code use fixed size arry of constant #define MAX_LIST_SIZE %d\n",
MAX_LIST_SIZE );
config_check_valptr(cfgoptions, sizeof(char*), numelt);
cfgoptions->numelt=numelt;