Commit b8d15cff authored by claes's avatar claes

Bugg fix in errh_Init, recursive call could occur

parent 8a6375ef
......@@ -145,14 +145,13 @@ errh_Init (
char *name
)
{
get_name(programName, sizeof(programName) - 1);
if (name != NULL && name[0] != '\0')
set_name(name);
if (!initDone) {
openLog();
if ( !initDone) {
initDone = 1;
openLog();
}
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment