From 5551a9c30cbf080d8322298eef905c5416d0100d Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 7 Sep 1996 02:17:29 +0000 Subject: wrong C bracketing, *blush*... --- libexec/comsat/comsat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec') diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index acfde8f..7508bb7 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -230,7 +230,7 @@ notify(utp, file, offset, folder) _exit(-1); } (void)tcgetattr(fileno(tp), &tio); - cr = (tio.c_oflag & (OPOST|ONLCR) == (OPOST|ONLCR)) ? "\n" : "\n\r"; + cr = ((tio.c_oflag & (OPOST|ONLCR)) == (OPOST|ONLCR)) ? "\n" : "\n\r"; (void)strncpy(name, utp->ut_name, sizeof(utp->ut_name)); name[sizeof(name) - 1] = '\0'; (void)fprintf(tp, "%s\007New mail for %s@%.*s\007 has arrived%s%s%s:%s----%s", -- cgit v1.1