Remove wrong initialization from max_message_size
commit489d0f159f031c0c28f641175fc915c5c7b915fc
authorOlaf Hering <olaf@aepfle.de>
Tue, 13 Feb 2024 16:47:53 +0000 (13 17:47 +0100)
committerRicardo Mones <ricardo@mones.org>
Tue, 13 Feb 2024 16:47:53 +0000 (13 17:47 +0100)
tree126d2e9fa566bd658cee65eea99f4ee15d950401
parent18909e44a8e960ba71ab389e78a9e42cd7576828
Remove wrong initialization from max_message_size

A valid value can only ever be positive. It was introduced correctly
with an unsigned type, but initialized incorrectly. Later the type was
changed to signed, instead of removing the incorrect initialization.

Restore the proper type, and remove the incorrect initial value.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
src/common/smtp.c
src/common/smtp.h