summaryrefslogtreecommitdiff
path: root/rfc822.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2003-07-05 10:49:22 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2003-07-05 10:49:22 +0000
commit60b9cfd5abf4e2c68821b8435cc73ec3a7d1e058 (patch)
tree8c9f64a1f99ca5eead75993b53852d3fa132a366 /rfc822.c
parent5f63162c8088321f5d0f88e8a367815b9cd2d694 (diff)
Better documentation.
Support for more sendmail options. Error verification for libESMTP calls.
Diffstat (limited to 'rfc822.c')
-rw-r--r--rfc822.c8
1 files changed, 4 insertions, 4 deletions
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)