From 15ff73b9843c79c1709f4a521aaa09285105f8bc Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 3 Jul 2003 18:25:53 +0000 Subject: Exit with an error code immediately whenever an error. Extensive use of xmalloc and friends. --- message.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'message.h') diff --git a/message.h b/message.h index 5977be6..52aba01 100644 --- a/message.h +++ b/message.h @@ -49,11 +49,11 @@ message_t *message_new(void); /** Free the resources associated with a message. */ void message_free(message_t *m); -int message_set_reverse_path(message_t *message, const char *address); +void message_set_reverse_path(message_t *message, const char *address); -int message_add_recipient(message_t *message, const char *address); +void message_add_recipient(message_t *message, const char *address); -int message_parse_headers(message_t *message); +unsigned message_parse_headers(message_t *message); size_t message_read(message_t *message, char *ptr, size_t size); -- cgit v1.2.3-54-g00ecf