number = 1;
else {
- if (strcmp(*argp, "all") == 0)
- number = -1;
-
- else if (!(number = atoi(*argp)))
+ if (strcmp(*argp, "all") == 0)
+ number = -1;
+ else if (!(number = atoi(*argp)))
adios(NULL, "missing argument to %s", argp[-2]);
-
argp++;
}
delete = number;
continue;
- case APPENDSW: /* append annotations instead of default prepend */
+ case APPENDSW:
append = 1;
continue;
- case PRESERVESW: /* preserve access and modification times on annotated message */
+ case PRESERVESW:
preserve = 1;
continue;
- case NOPRESERVESW: /* don't preserve access and modification times on annotated message (default) */
+ case NOPRESERVESW:
preserve = 0;
continue;
}
if (list)
annolist(m_name(msgnum), comp, text, number);
else
- annotate(m_name(msgnum), comp, text, datesw, delete, append, preserve);
+ annotate(m_name(msgnum), comp, text, datesw,
+ delete, append, preserve);
}
}
- context_replace(curfolder, folder); /* update current folder */
- seq_setcur(mp, mp->lowsel); /* update current message */
- seq_save(mp); /* synchronize message sequences */
- folder_free(mp); /* free folder/message structure */
- context_save(); /* save the context file */
+ context_replace(curfolder, folder);
+ seq_setcur(mp, mp->lowsel);
+ seq_save(mp);
+ folder_free(mp);
+ context_save();
done(0);
return 1;
}