* added some rfc822 stuffs
authorArt Cancro <ajc@citadel.org>
Fri, 17 Dec 1999 16:37:52 +0000 (16:37 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 17 Dec 1999 16:37:52 +0000 (16:37 +0000)
citadel/internet_addressing.c

index 0612e77b29670d7e089599673266014bcf08b9b4..6dc5a1fc683efe4c6cecc8c775e97e84d6c95f28 100644 (file)
@@ -264,6 +264,11 @@ struct CtdlMessage *convert_internet_message(char *rfc822) {
 
        struct CtdlMessage *msg;
        char *buf;
+       int pos;
+       int msglen;
+       int done;
+       char *field;
+       char buf[256];
 
        msg = mallok(sizeof(struct CtdlMessage));
        if (msg == NULL) return msg;
@@ -275,6 +280,19 @@ struct CtdlMessage *convert_internet_message(char *rfc822) {
        msg->cm_fields['M'] = rfc822;
 
        /* FIX   there's plenty to do here. */
+       msglen = strlen(rfc822);
+       pos = 0;
+       done = 0;
+       field = NULL;
+
+       while (!done) {
+
+               for (i=pos; i<=strlen(rfc822); ++i) {
+
+               
+
+
+       }
 
 
        /* Follow-up sanity check. */