int ch = getc(in);
if (ch != EOF) {
- FILE *mail = 0L;
+ FILE *mail = NULL;
int bytes = 1;
int status = 0;
while (EOF != (ch = getc(in))) {
bytes++;
- if (mailto)
+ if (mail)
putc(ch, mail);
}
* mailing...
*/
- if (mailto) {
+ if (mail) {
Debug(DPROC, ("[%ld] closing pipe to mail\n", (long) getpid()))
/* Note: the pclose will probably see
* the termination of the grandchild
* log the facts so the poor user can figure out
* what's going on.
*/
- if (mailto && status) {
+ if (mail && status) {
char buf[MAX_TEMPSTR];
sprintf(buf,