X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8a5a1a5303ddc67f06350a57a515853724a16e31..63621a81d16ab743de6b57d47578a9a2c670ad22:/uip/sortm.c diff --git a/uip/sortm.c b/uip/sortm.c index 84f8e085..2e2809a2 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -8,7 +8,7 @@ #include #include #include -#include "../sbr/m_maildir.h" +#include "sbr/m_maildir.h" #define SORTM_SWITCHES \ X("datefield field", 0, DATESW) \ @@ -43,7 +43,7 @@ struct smsg { static struct smsg *smsgs; int nmsgs; -char *subjsort = (char *) 0; /* sort on subject if != 0 */ +char *subjsort; /* sort on subject if != 0 */ time_t datelimit = 0; int submajor = 0; /* if true, sort on subject-major */ int verbose; @@ -390,8 +390,8 @@ get_fields (char *datesw, int msg, struct smsg *smsg) msg, compnum); check_failed = 1; } - mh_xfree(datecomp); - mh_xfree(subjcomp); + free(datecomp); + free(subjcomp); fclose (in); return (0); @@ -453,7 +453,7 @@ get_fields (char *datesw, int msg, struct smsg *smsg) smsg->s_subj = subjcomp; } fclose (in); - mh_xfree(datecomp); + free(datecomp); return (1); }