break;
default:
- if (pidXwait(child, buildmimeproc))
+ if (pidXwait(child, buildmimeproc))
return NOTOK;
break;
}
arglist = argsplit(mailproc, &program, &argp);
- arglist[argp++] = getusername();
+ arglist[argp++] = getusername(1);
arglist[argp++] = "-subject";
arglist[argp++] = buf;
arglist[argp] = NULL;
perror (mailproc);
_exit(1);
- default: /* no waiting... */
+ default: /* no waiting... */
break;
}
}
child_id = debugsw ? NOTOK : fork ();
switch (child_id) {
- case NOTOK: /* oops */
+ case NOTOK: /* oops */
if (!debugsw)
inform("unable to fork, so doing annotations by hand...");
if (cwd == NULL)
}
break;
- default: /* no waiting... */
+ default: /* no waiting... */
close (fd);
break;
}
if (saslmech && ! strcasecmp(saslmech, "xoauth2")) {
if (! mh_oauth_get_service_info(auth_svc, &svc, errbuf,
- sizeof(errbuf)))
+ sizeof(errbuf)))
die("Unable to retrieve oauth profile entries: %s",
errbuf);