remove typedef from struct recptypes
[citadel.git] / citadel / journaling.c
index 375589750db5e8a83e20ce94f1591409bf4e64a6..939ec3b7d685b3aab69cb38a039ae613a4616fea 100644 (file)
@@ -29,7 +29,7 @@ struct jnlq *jnlq = NULL;     /* journal queue */
  */
 void JournalBackgroundSubmit(struct CtdlMessage *msg,
                        StrBuf *saved_rfc822_version,
-                       recptypes *recps) {
+                       struct recptypes *recps) {
 
        struct jnlq *jptr = NULL;
 
@@ -45,7 +45,7 @@ void JournalBackgroundSubmit(struct CtdlMessage *msg,
                return;
        }
        memset(jptr, 0, sizeof(struct jnlq));
-       if (recps != NULL) memcpy(&jptr->recps, recps, sizeof(recptypes));
+       if (recps != NULL) memcpy(&jptr->recps, recps, sizeof(struct recptypes));
        if (!CM_IsEmpty(msg, eAuthor)) jptr->from = strdup(msg->cm_fields[eAuthor]);
        if (!CM_IsEmpty(msg, erFc822Addr)) jptr->rfca = strdup(msg->cm_fields[erFc822Addr]);
        if (!CM_IsEmpty(msg, eMsgSubject)) jptr->subj = strdup(msg->cm_fields[eMsgSubject]);
@@ -89,7 +89,7 @@ void local_to_inetemail(char *inetemail, char *localuser, size_t inetemail_len)
 void JournalRunQueueMsg(struct jnlq *jmsg) {
 
        struct CtdlMessage *journal_msg = NULL;
-       recptypes *journal_recps = NULL;
+       struct recptypes *journal_recps = NULL;
        StrBuf *message_text = NULL;
        char mime_boundary[256];
        long mblen;
@@ -142,7 +142,7 @@ void JournalRunQueueMsg(struct jnlq *jmsg) {
                                rfc822len = 0;
                        }
 
-                       message_text = NewStrBufPlain(NULL, rfc822len + sizeof(recptypes) + 1024);
+                       message_text = NewStrBufPlain(NULL, rfc822len + sizeof(struct recptypes) + 1024);
 
                        /*
                         * Here is where we begin to compose the journalized message.