ngircd.c, main(): use strlcat() instead of strcat()
authorAlexander Barton <alex@barton.de>
Mon, 7 Oct 2013 19:56:09 +0000 (21:56 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 7 Oct 2013 19:56:09 +0000 (21:56 +0200)
commit4c5b439992ce99f1bed84c51e4d9c3a3cd118858
tree2d08b0e4a6233231649fd1f1e3c889b8b1ff5532
parent86cd2da8d5dc08eedbf23be5249d1cc3a16f0787
ngircd.c, main(): use strlcat() instead of strcat()

This fixes the following warning on OpenBSD 5.3:

 ngircd.o(.text+0xeb4): In function `main':
  src/ngircd/ngircd.c:300: warning: strcat() is almost always misused,
                                    please use strlcat()

Thanks to Götz Hoffart for reporting this!
src/ngircd/ngircd.c