X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/92c3b05ef3e582d64b3cecfc261fdd66ef13a4ef..085bca07c0b505f095a50666a3752e5fcb69bc70:/uip/mhfree.c diff --git a/uip/mhfree.c b/uip/mhfree.c index 6a827e08..043f0710 100644 --- a/uip/mhfree.c +++ b/uip/mhfree.c @@ -6,10 +6,10 @@ * complete copyright information. */ -#include -#include -#include -#include +#include "h/mh.h" +#include "h/utils.h" +#include "h/mime.h" +#include "h/mhparse.h" #include "sbr/m_mktemp.h" #include "mhfree.h" @@ -22,7 +22,6 @@ CT *cts = NULL; static void free_header (CT); static void free_text (CT); static void free_multi (CT); -static void free_partial (CT); static void free_external (CT); static void free_pmlist (PM *); @@ -60,10 +59,6 @@ free_content (CT ct) case CT_MESSAGE: switch (ct->c_subtype) { - case MESSAGE_PARTIAL: - free_partial (ct); - break; - case MESSAGE_EXTERNAL: free_external (ct); break; @@ -195,21 +190,6 @@ free_multi (CT ct) } -static void -free_partial (CT ct) -{ - struct partial *p; - - if (!(p = (struct partial *) ct->c_ctparams)) - return; - - free(p->pm_partid); - - free(p); - ct->c_ctparams = NULL; -} - - static void free_external (CT ct) {