From 60b9cfd5abf4e2c68821b8435cc73ec3a7d1e058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 5 Jul 2003 10:49:22 +0000 Subject: Better documentation. Support for more sendmail options. Error verification for libESMTP calls. --- rfc822.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rfc822.c') diff --git a/rfc822.c b/rfc822.c index 0035ad2..546f481 100644 --- a/rfc822.c +++ b/rfc822.c @@ -37,9 +37,9 @@ */ char *next_address(const char *hdr) { - static unsigned char address[BUFSIZ]; + static char address[BUFSIZ]; static int tp; - static const unsigned char *hp; + static const char *hp; static int state, oldstate; int parendepth = 0; @@ -68,14 +68,14 @@ char *next_address(const char *hdr) tp = 0; return (address); } - return((unsigned char *)NULL); + return(NULL); } else if (*hp == '\\') /* handle RFC822 escaping */ { if (state != INSIDE_PARENS) { address[NEXTTP()] = *hp++; /* take the escape */ - address[NEXTTP()] = *hp; /* take following unsigned char */ + address[NEXTTP()] = *hp; /* take following char */ } } else switch (state) -- cgit v1.2.3-2-g168b