main(int argc, char **argv)
{
int datesw = 1;
+ int preserve = 0;
int msgnum;
char *cp, *maildir;
unsigned char *comp = NULL;
continue;
case PRESERVESW: /* preserve access and modification times on annotated message */
- annopreserve(1);
+ preserve = 1;
continue;
case NOPRESERVESW: /* don't preserve access and modification times on annotated message (default) */
- annopreserve(0);
+ preserve = 0;
continue;
}
}
if (list)
annolist(m_name(msgnum), comp, text, number);
else
- annotate(m_name(msgnum), comp, text, datesw, delete, append);
+ annotate(m_name(msgnum), comp, text, datesw, delete, append, preserve);
}
}