]> arthur.barton.de Git - ngircd-alex.git/commit
irc-info.c: Use strlcpy() instead of strcpy()
authorAlexander Barton <alex@barton.de>
Sun, 11 Nov 2012 15:46:57 +0000 (16:46 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 11 Nov 2012 15:46:57 +0000 (16:46 +0100)
commitd11a700589b2abab71b67ffb81f17f38936a169c
tree1b2dc29ee77bd89252d5cd3944944d03bc76fe9f
parent0a26079af2f5ee2bf5d0c67d1c701abf77d3cd56
irc-info.c: Use strlcpy() instead of strcpy()

This fixes the following warning of gcc (tested on OpenBSD 5.0:)
  irc-info.c:990: warning: strcpy() is almost always misused,
                  please use strlcpy
src/ngircd/irc-info.c