make the memlimit final NULL return get written to stderr as wella
This commit is contained in:
@@ -91,6 +91,9 @@ static bool countcheck(const char *func, int line, const char *source)
|
|||||||
if(logfile && source)
|
if(logfile && source)
|
||||||
fprintf(logfile, "LIMIT %s:%d %s reached memlimit\n",
|
fprintf(logfile, "LIMIT %s:%d %s reached memlimit\n",
|
||||||
source, line, func);
|
source, line, func);
|
||||||
|
if(source)
|
||||||
|
fprintf(stderr, "LIMIT %s:%d %s reached memlimit\n",
|
||||||
|
source, line, func);
|
||||||
return TRUE; /* RETURN ERROR! */
|
return TRUE; /* RETURN ERROR! */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user