repo: ngircd action: commit revision: path_from: revision_from: ea26fd2840f6c7f286407e86f832d6ec5e93eeeb: path_to: revision_to:
commit ea26fd2840f6c7f286407e86f832d6ec5e93eeeb Author: Federico G. SchwindtDate: Wed Oct 16 10:40:14 2013 +0100 Fix another strcat warning missed in commit 4c5b43 diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
--- 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);
-----END OF PAGE-----