-
-/*
- * scan.c -- display a one-line "scan" listing of folder or messages
+/* scan.c -- display a one-line "scan" listing of folder or messages
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
#include <h/tws.h>
#include <h/mts.h>
#include <h/utils.h>
+#include "sbr/m_maildir.h"
+#include "sbr/terminal.h"
#define SCAN_SWITCHES \
X("clear", 0, CLRSW) \
if (*cp == '+' || *cp == '@') {
if (folder)
adios (NULL, "only one folder at a time!");
- else
- folder = pluspath (cp);
+ folder = pluspath (cp);
} else
- app_msgarg(&msgs, cp);
+ app_msgarg(&msgs, cp);
}
if (!context_find ("path"))
ivector_push_back (seqnum, seq_getnum (mp, *ap));
num_unseen_seq = i;
- mh_xfree(dp);
+ free(dp);
}
ontty = isatty (fileno (stdout));