bug fixes and test2
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
ini_free(config); \
|
||||
return 1; \
|
||||
} \
|
||||
var = calloc(strlen(var)+1, sizeof(char)); \
|
||||
var = calloc(strlen(buff)+1, sizeof(char)); \
|
||||
strncpy(var, buff, strlen(buff)+1);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user