remove typedef from struct recptypes
[citadel.git] / citadel / modules / inboxrules / serv_inboxrules.c
index 204b7cbc69b436c7ca5d574bbf0d5a2c41d4fb29..b7e01278f4d63cdb3975809c9bfd612ab9b1b4cb 100644 (file)
@@ -345,7 +345,7 @@ int inbox_do_redirect(struct irule *rule, long msgnum) {
                return(1);                                      // don't delete the inbox copy if this failed
        }
 
-       recptypes *valid = validate_recipients(rule->redirect_to, NULL, 0);
+       struct recptypes *valid = validate_recipients(rule->redirect_to, NULL, 0);
        if (valid == NULL) {
                syslog(LOG_WARNING, "inboxrules: inbox_do_redirect() invalid recipient <%s>", rule->redirect_to);
                return(1);                                      // don't delete the inbox copy if this failed