Skip to content
Snippets Groups Projects
Commit 68d2450a authored by deuce's avatar deuce
Browse files

Make iniGetSection() return an empty list when the passed list is NULL

parent 5f65017c
Branches
Tags
No related merge requests found
......@@ -299,6 +299,8 @@ str_list_t iniGetSection(str_list_t list, const char *section)
str_list_t retval=strListInit();
char *p;
if(list==NULL)
return(retval);
if(section==ROOT_SECTION)
i=0;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment