Fix multiple compilation errors and memory leaks.

- Rename malloc_message() because it was causing a compilation error on
  FreeBSD.
- Use correct type as a return from gzdopen().
- Memory allocation, header file includes, etc.
This commit is contained in:
2023-02-10 13:26:45 +01:00
parent 3db6edf467
commit 654d98cbb4
8 changed files with 14 additions and 9 deletions

View File

@@ -122,7 +122,7 @@ maildir_read_message (maildir_t *mdp)
static FILE *fp;
static int s;
message = malloc_message ();
message = allocate_message ();
for(;;)
{