]> arthur.barton.de Git - ngircd.git/commit
conf.c: Use strlcpy() instead of strcpy()
authorAlexander Barton <alex@barton.de>
Sun, 11 Nov 2012 10:18:53 +0000 (11:18 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 11 Nov 2012 10:18:53 +0000 (11:18 +0100)
commit4123118d5a1a92e74fb82131b29f65d5067442dc
tree55eef9b0a6f45c47f7d0b142734b2f952aa8ea76
parente29d198700a9e1c026d7f4b2601d127045adbe53
conf.c: Use strlcpy() instead of strcpy()

This fixes the following warning of gcc on OpenBSD 5.0:
  conf.c:728: warning: strcpy() is almost always misused, please use strlcpy()
src/ngircd/conf.c