#include <h/fmt_scan.h>
#include <h/mts.h>
#include <h/utils.h>
-#include "../sbr/terminal.h"
+#include "sbr/terminal.h"
#define NADDRS 100
status += process (addrs[addrp], width);
fmt_free (fmt, 1);
- done(min(status, MAX_EXIT));
+ done(!!status);
return 1;
}
cptr = fmt_findcomp ("text");
if (cptr) {
- mh_xfree(cptr->c_text);
+ free(cptr->c_text);
cptr->c_text = p->pq_text;
p->pq_text = NULL;
}
cptr = fmt_findcomp ("error");
if (cptr) {
- mh_xfree(cptr->c_text);
+ free(cptr->c_text);
cptr->c_text = p->pq_error;
p->pq_error = NULL;
}
fputs (charstring_buffer (scanl), stdout);
charstring_free (scanl);
- mh_xfree(p->pq_text);
- mh_xfree(p->pq_error);
+ free(p->pq_text);
+ free(p->pq_error);
q = p->pq_next;
free(p);
}