X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a5aa6164d9e9c178c800187fa606f83c1bac916f..8186ba3712898c3c0dfa1e23c9e85a9a2b50bb87:/uip/mhshowsbr.c diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 416fe938..bb0a646e 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -41,10 +41,6 @@ int type_ok (CT, int); void content_error (char *, CT, char *, ...); void flush_errors (void); -/* mhlistsbr.c */ -int list_switch (CT, int, int, int, int); -int list_content (CT, int, int, int, int); - /* * prototypes */ @@ -341,7 +337,7 @@ show_content_aux (CT ct, int serial, int alternate, char *cp, char *cracked) for (pm = ci->ci_first_pm; pm; pm = pm->pm_next) { snprintf (bp, buflen, "%s%s=\"%s\"", s, pm->pm_name, - get_param_value(pm)); + get_param_value(pm, '?')); len = strlen (bp); bp += len; buflen -= len; @@ -515,9 +511,9 @@ show_content_aux2 (CT ct, int serial, int alternate, char *cracked, char *buffer char prompt[BUFSIZ]; if (ct->c_type == CT_MULTIPART) - list_content (ct, -1, 1, 0, 0); + list_content (ct, -1, 1, 0, 0, 0); else - list_switch (ct, -1, 1, 0, 0); + list_switch (ct, -1, 1, 0, 0, 0); if (xpause && isatty (fileno (stdout))) { int intr; @@ -849,7 +845,7 @@ show_multi_aux (CT ct, int serial, int alternate, char *cp) for (pm = ci->ci_first_pm; pm; pm = pm->pm_next) { snprintf (bp, buflen, "%s%s=\"%s\"", s, pm->pm_name, - get_param_value(pm)); + get_param_value(pm, '?')); len = strlen (bp); bp += len; buflen -= len;