return (i ? -1 : 0);
return (i);
static int send_message (HEADER *msg){    char tempfile[_POSIX_PATH_MAX];  FILE *tempfp;  int i;    /* Write out the message in MIME form. */  mutt_mktemp (tempfile);  if ((tempfp = safe_fopen (tempfile, "w")) == NULL)    return (-1);#ifdef MIXMASTER  mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, msg->chain ? 1 : 0);#endif#ifndef MIXMASTER  mutt_write_rfc822_header (tempfp, msg->env, msg->content, 0, 0);#endif    fputc ('\n', tempfp); /* tie off the header. */  if ((mutt_write_mime_body (msg->content, tempfp) == -1))  {    fclose(tempfp);    unlink (tempfile);    return (-1);  }    if (fclose (tempfp) != 0)  {    mutt_perror (tempfile);    unlink (tempfile);    return (-1);  }#ifdef MIXMASTER  if (msg->chain)    return mix_send_message (msg->chain, tempfile);#endif  i = mutt_invoke_sendmail (msg->env->to, msg->env->cc, msg->env->bcc,		       tempfile, (msg->content->encoding == ENC8BIT));  return (i ? -1 : 0);}