Christian Grothoff пре 1 година
родитељ
комит
2ae29c6a02
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/tests/client_server/libtest.c

+ 3 - 1
src/tests/client_server/libtest.c

@@ -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;
   }