]> arthur.barton.de Git - ngircd-alex.git/commit
IRC_WHO_Channel(): Use strlcpy() instead of strcpy()
authorAlexander Barton <alex@barton.de>
Sun, 27 Jan 2013 00:00:32 +0000 (01:00 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 27 Jan 2013 00:00:32 +0000 (01:00 +0100)
commit8d8201502f79bfe6fdaf8e94a11544332bb9630a
tree4a5858d8c7021a40f4e12e4e07c9c5eb77729b6b
parentd38d153f51738da31d40036c7c48b32d82234018
IRC_WHO_Channel(): Use strlcpy() instead of strcpy()

This fixes the following warning, at least on OpenBSD 4.8:

 irc-info.o(.text+0x2427): In function `IRC_WHO':
 src/ngircd/irc-info.c:896: warning: strcpy() is almost always misused,
                            please use strlcpy()
src/ngircd/irc-info.c