summaryrefslogtreecommitdiffstats
path: root/rfc822.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-07 15:06:19 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-07 15:06:19 +0000
commit756457eb30d26a0a9d8591558a4e9b630a17ce6a (patch)
tree0c815413f971dd27e05bcf344983e983bea5d526 /rfc822.c
parente88150f1860fc1ba4aa7ee365df6558d72040e68 (diff)
Some testing.
Diffstat (limited to 'rfc822.c')
-rw-r--r--rfc822.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rfc822.c b/rfc822.c
index 70f3a8e5..77f56878 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -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;