diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-07-05 10:49:22 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-07-05 10:49:22 +0000 |
commit | 60b9cfd5abf4e2c68821b8435cc73ec3a7d1e058 (patch) | |
tree | 8c9f64a1f99ca5eead75993b53852d3fa132a366 /rfc822.c | |
parent | 5f63162c8088321f5d0f88e8a367815b9cd2d694 (diff) |
Better documentation.
Support for more sendmail options.
Error verification for libESMTP calls.
Diffstat (limited to 'rfc822.c')
-rw-r--r-- | rfc822.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |