#include <h/mhcachesbr.h>
#include <h/utils.h>
#include "mhmisc.h"
-#include "../sbr/m_maildir.h"
-#include "../sbr/m_popen.h"
+#include "sbr/m_maildir.h"
+#include "sbr/m_popen.h"
#include "mhfree.h"
#include "mhshowsbr.h"
if (npreferred >= NPREFS)
adios (NULL, "too many preferred types (starting with %s), %d max",
cp, NPREFS);
- preferred_types[npreferred] = cp;
+ mime_preference[npreferred].type = cp;
cp = strchr(cp, '/');
if (cp) *cp++ = '\0';
- preferred_subtypes[npreferred++] = cp;
+ mime_preference[npreferred++].subtype = cp;
continue;
case NPREFERSW:
case FORMSW:
if (!(cp = *argp++) || *cp == '-')
adios (NULL, "missing argument to %s", argp[-2]);
- mh_xfree(formsw);
+ free(formsw);
formsw = getcpy (etcpath (cp));
continue;