mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
better error message
This commit is contained in:
@@ -678,7 +678,9 @@ MHDT_load_pem (const char *name)
|
||||
if (s.st_size > (off_t) SIZE_MAX)
|
||||
{
|
||||
fprintf (stderr,
|
||||
"File too large to malloc()\n");
|
||||
"File %s too large (%llu bytes) to malloc()\n",
|
||||
path,
|
||||
(unsigned long long) s.st_size);
|
||||
(void) close (fd);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user