* -- contents of MIME messages
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* -- contents of MIME messages
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
- snprintf (buffer, sizeof(buffer), "%s/%s", empty (ci->ci_type),
- empty (ci->ci_subtype));
+ snprintf (buffer, sizeof(buffer), "%s/%s", FENDNULL(ci->ci_type),
+ FENDNULL(ci->ci_subtype));
fprintf (stderr, " %s:%s\n", TYPE_FIELD, ct->c_ctline);
/* print parsed elements of content type */
fprintf (stderr, " %s:%s\n", TYPE_FIELD, ct->c_ctline);
/* print parsed elements of content type */
- fprintf (stderr, " type \"%s\"\n", empty (ci->ci_type));
- fprintf (stderr, " subtype \"%s\"\n", empty (ci->ci_subtype));
- fprintf (stderr, " comment \"%s\"\n", empty (ci->ci_comment));
- fprintf (stderr, " magic \"%s\"\n", empty (ci->ci_magic));
+ fprintf (stderr, " type \"%s\"\n", FENDNULL(ci->ci_type));
+ fprintf (stderr, " subtype \"%s\"\n", FENDNULL(ci->ci_subtype));
+ fprintf (stderr, " comment \"%s\"\n", FENDNULL(ci->ci_comment));
+ fprintf (stderr, " magic \"%s\"\n", FENDNULL(ci->ci_magic));
/* print parsed parameters attached to content type */
fprintf (stderr, " parameters\n");
/* print parsed parameters attached to content type */
fprintf (stderr, " parameters\n");
ct->c_type, ct->c_subtype,
(unsigned int)(unsigned long) ct->c_ctparams);
ct->c_type, ct->c_subtype,
(unsigned int)(unsigned long) ct->c_ctparams);
- fprintf (stderr, " showproc \"%s\"\n", empty (ct->c_showproc));
- fprintf (stderr, " termproc \"%s\"\n", empty (ct->c_termproc));
- fprintf (stderr, " storeproc \"%s\"\n", empty (ct->c_storeproc));
+ fprintf (stderr, " showproc \"%s\"\n", FENDNULL(ct->c_showproc));
+ fprintf (stderr, " termproc \"%s\"\n", FENDNULL(ct->c_termproc));
+ fprintf (stderr, " storeproc \"%s\"\n", FENDNULL(ct->c_storeproc));
if (ct->c_dispo)
fprintf (stderr, " %s:%s", DISPO_FIELD, ct->c_dispo);
if (ct->c_dispo)
fprintf (stderr, " %s:%s", DISPO_FIELD, ct->c_dispo);
fprintf(stderr, " disposition parameters\n");
for (pm = ct->c_dispo_first; pm; pm = pm->pm_next)
fprintf (stderr, " %s=\"%s\"\n", pm->pm_name,
get_param_value(pm, '?'));
fprintf (stderr, " read fp 0x%x file \"%s\" begin %ld end %ld\n",
fprintf(stderr, " disposition parameters\n");
for (pm = ct->c_dispo_first; pm; pm = pm->pm_next)
fprintf (stderr, " %s=\"%s\"\n", pm->pm_name,
get_param_value(pm, '?'));
fprintf (stderr, " read fp 0x%x file \"%s\" begin %ld end %ld\n",
printf ("\t [message %s, part %d", p->pm_partid, p->pm_partno);
if (p->pm_maxno)
printf (" of %d", p->pm_maxno);
printf ("\t [message %s, part %d", p->pm_partid, p->pm_partno);
if (p->pm_maxno)
printf (" of %d", p->pm_maxno);
printf ("\t permission=\"%s\"\n", e->eb_permission);
if (e->eb_flags == NOTOK)
printf ("\t permission=\"%s\"\n", e->eb_permission);
if (e->eb_flags == NOTOK)
fprintf (stderr, " decoded fp 0x%x file \"%s\"\n",
(unsigned int)(unsigned long) ce->ce_fp,
fprintf (stderr, " decoded fp 0x%x file \"%s\"\n",
(unsigned int)(unsigned long) ce->ce_fp,