make the memlimit final NULL return get written to stderr as wella
This commit is contained in:
Родитель
679cabb532
Коммит
a331aa0221
|
@ -91,6 +91,9 @@ static bool countcheck(const char *func, int line, const char *source)
|
|||
if(logfile && source)
|
||||
fprintf(logfile, "LIMIT %s:%d %s reached memlimit\n",
|
||||
source, line, func);
|
||||
if(source)
|
||||
fprintf(stderr, "LIMIT %s:%d %s reached memlimit\n",
|
||||
source, line, func);
|
||||
return TRUE; /* RETURN ERROR! */
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче