validate_recipients(): just remember the mailtype we're finaly interested in.
[citadel.git] / citadel / msgbase.c
index dd1e1d33a0869d187924faa9a30db4a8ab39f278..830a07501b5e33a47f3e191243eda9701acb5b5c 100644 (file)
@@ -4157,8 +4157,8 @@ struct recptypes *validate_recipients(const char *supplied_recipients,
                ++num_recps;
 
                strcpy(org_recp, this_recp);
-               mailtype = alias(this_recp);
-               mailtype = alias(this_recp);
+               alias(this_recp);
+               alias(this_recp);
                mailtype = alias(this_recp);
                j = 0;
                for (j=0; !IsEmptyStr(&this_recp[j]); ++j) {