mirror of
https://github.com/curl/curl.git
synced 2026-07-23 14:17:20 +03:00
make the memlimit final NULL return get written to stderr as wella
This commit is contained in:
parent
679cabb532
commit
a331aa0221
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue