X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..665dfc96f45c47ecfae79f1baa2c29dabe5a2ded:/uip/refile.c diff --git a/uip/refile.c b/uip/refile.c index ec539013..906eb893 100644 --- a/uip/refile.c +++ b/uip/refile.c @@ -310,7 +310,7 @@ opnfolds (struct msgs *src_folder, struct st_fold *folders, int nfolders) /* - * Set the Previous-Sequence and then sychronize the + * Set the Previous-Sequence and then synchronize the * sequence file, for each destination folder. */ @@ -382,7 +382,7 @@ m_file (struct msgs *mp, char *msgfile, int oldmsgnum, * therefore won't be assigned to be the current message. */ if ((msgnum = folder_addmsg (&fp->f_mp, msgfile, - mp == fp->f_mp ? 0 : 1, + mp != fp->f_mp, 0, preserve, nfolders == 1 && refile, maildir)) == -1) return 1; @@ -409,7 +409,7 @@ copy_seqs (struct msgs *oldmp, int oldmsgnum, struct msgs *newmp, int newmsgnum) assert ((int) seqnum == seq_getnum (oldmp, *seq)); if (in_sequence (oldmp, seqnum, oldmsgnum)) { seq_addmsg (newmp, *seq, newmsgnum, - is_seq_private (oldmp, seqnum) ? 0 : 1, 0); + !is_seq_private (oldmp, seqnum), 0); } } }