summaryrefslogtreecommitdiff
path: root/mh/burst.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh/burst.c')
-rw-r--r--mh/burst.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mh/burst.c b/mh/burst.c
index b512fa0bb..af04317bd 100644
--- a/mh/burst.c
+++ b/mh/burst.c
@@ -75,8 +75,14 @@ int
burst_mime (mu_message_t msg)
{
size_t i, nparts;
+ int rc;
- mu_message_get_num_parts (msg, &nparts);
+ rc = mu_message_get_num_parts (msg, &nparts);
+ if (rc)
+ {
+ mu_diag_funcall (MU_DIAG_ERR, "mu_message_get_num_parts", NULL, rc);
+ return rc;
+ }
for (i = 1; i <= nparts; i++)
{

Return to:

Send suggestions and report system problems to the System administrator.