]> git.marmaro.de Git - mmh/blobdiff - sbr/folder_delmsgs.c
Use sysexits.h for better exit-codes
[mmh] / sbr / folder_delmsgs.c
index 0ecf382b9ad40eb0113005e7d505a7d77a9f1ec5..8e5fd0a2e9401e7bba01e302f3c4ee377eac291e 100644 (file)
@@ -6,6 +6,7 @@
 ** complete copyright information.
 */
 
+#include <sysexits.h>
 #include <unistd.h>
 #include <h/mh.h>
 
@@ -51,7 +52,7 @@ folder_delmsgs(struct msgs *mp, int hook)
 
        /* 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;