=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/message.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/rdist/message.c 1996/07/25 05:31:02 1.5 --- src/usr.bin/rdist/message.c 1996/07/29 17:50:09 1.6 *************** *** 1,4 **** ! /* $OpenBSD: message.c,v 1.5 1996/07/25 05:31:02 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: message.c,v 1.6 1996/07/29 17:50:09 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. *************** *** 35,41 **** #ifndef lint static char RCSid[] = ! "$OpenBSD: message.c,v 1.5 1996/07/25 05:31:02 millert Exp $"; static char sccsid[] = "@(#)common.c"; --- 35,41 ---- #ifndef lint static char RCSid[] = ! "$OpenBSD: message.c,v 1.6 1996/07/29 17:50:09 millert Exp $"; static char sccsid[] = "@(#)common.c"; *************** *** 449,456 **** int flags; char *msgbuf; { - int fd; - if (IS_ON(flags, MT_DEBUG)) return; --- 449,454 ---- *************** *** 460,465 **** --- 458,464 ---- if (!msgfac->mf_fptr) { register char *cp; char *getenv(); + int fd; /* * Create and open a new temporary file *************** *** 472,478 **** msgfac->mf_filename = tempfile; if ((fd = mkstemp(msgfac->mf_filename)) == -1 || ! (msgfac->mf_fptr = fdopen(fd, "w"))==NULL) { if (fd != -1) close(fd); fatalerr("Cannot open notify file for writing: %s: %s.", --- 471,477 ---- msgfac->mf_filename = tempfile; if ((fd = mkstemp(msgfac->mf_filename)) == -1 || ! (msgfac->mf_fptr = fdopen(fd, "w")) == NULL) { if (fd != -1) close(fd); fatalerr("Cannot open notify file for writing: %s: %s.",