diff --git a/lib/parse_ini.c b/lib/parse_ini.c
index 57321753c5b0bff692d4b621d82de2eee7336ae4..c19952dbb6343dd3efaa6191bd04a8b9c5b5373a 100644 (file)
--- a/lib/parse_ini.c
+++ b/lib/parse_ini.c
} else {
i->file=strdup(&(locator[stanza_len+1]));
}
-
+
if(i->file==NULL || i->stanza==NULL){
die(STATE_UNKNOWN, _("malloc() failed!\n"));
}
if(inifile!=stdin) fclose(inifile);
}
free(i.stanza);
- return defaults;
+ return defaults;
}
/* read_defaults is where the meat of the parsing takes place.
default:
switch(stanzastate){
/* we never found the start of the first stanza, so
- * we're dealing with a config error
+ * we're dealing with a config error
*/
case NOSTANZA:
die(STATE_UNKNOWN, _("Config file error"));