Module: ngircd.git Branch: master Commit: ea26fd2840f6c7f286407e86f832d6ec5e93eeeb URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=ea26f...
Author: Federico G. Schwindt fgsch@lodoss.net Date: Wed Oct 16 10:40:14 2013 +0100
Fix another strcat warning missed in commit 4c5b43
---
src/ngircd/ngircd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index 9c27409..6af5816 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -300,7 +300,7 @@ main(int argc, const char *argv[]) strlcat(NGIRCd_ProtoID, "Z", sizeof NGIRCd_ProtoID); #endif if (Conf_OperCanMode) - strcat(NGIRCd_ProtoID, "o"); + strlcat(NGIRCd_ProtoID, "o", sizeof NGIRCd_ProtoID); #else /* IRCPLUS */ snprintf(NGIRCd_ProtoID, sizeof NGIRCd_ProtoID, "%s%s %s|%s", PROTOVER, PROTOIRC, PACKAGE_NAME, PACKAGE_VERSION);