diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-07 15:06:19 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-07 15:06:19 +0000 |
commit | 756457eb30d26a0a9d8591558a4e9b630a17ce6a (patch) | |
tree | 0c815413f971dd27e05bcf344983e983bea5d526 /rfc822.c | |
parent | e88150f1860fc1ba4aa7ee365df6558d72040e68 (diff) |
Some testing.
Diffstat (limited to 'rfc822.c')
-rw-r--r-- | rfc822.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,7 @@ #define FREE(x) safe_free(x) #define ISSPACE isspace #define strfcpy(a,b,c) {if (c) {strncpy(a,b,c);a[c-1]=0;}} +#define STRING 128 #include "rfc822.h" #endif @@ -758,7 +759,11 @@ int main (int argc, char **argv) { ADDRESS *list; char buf[256]; +# if 0 char *str = "michael, Michael Elkins <me@cs.hmc.edu>, testing a really complex address: this example <@contains.a.source.route@with.multiple.hosts:address@example.com>;, lothar@of.the.hillpeople (lothar)"; +# else + char *str = "a b c "; +# endif list = rfc822_parse_adrlist (NULL, str); buf[0] = 0; |