mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
wrong C bracketing, *blush*...
This commit is contained in:
parent
011e76a24a
commit
163d0a5fb8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18097
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue