** complete copyright information.
*/
+#include <sysexits.h>
#include <unistd.h>
#include <h/mh.h>
/* unselect message */
unset_selected(mp, msgnum);
- mp->numsel--;
snprintf(msgpath, sizeof (msgpath), "%s/%d",
mp->foldpath, msgnum);
/* Sanity check */
if (mp->numsel != 0)
- adios(NULL, "oops, mp->numsel should be 0");
+ adios(EX_SOFTWARE, NULL, "oops, mp->numsel should be 0");
/* Mark that the sequence information has changed */
mp->msgflags |= SEQMOD;