]> diplodocus.org Git - nmh/commitdiff
rcvtty.c: Use struct utmpx's ut_line[], not a copy.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 1 Jul 2018 08:32:28 +0000 (09:32 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 1 Jul 2018 10:12:42 +0000 (11:12 +0100)
Silences gcc 8.1.1's warning that strncpy(3)'s length is the sizeof of
the source, not the destination, by removing the strncpy and passing the
source to alert() where it's only read, not written.


No differences found