Fix another strcat warning missed in commit 4c5b43

This commit is contained in:
Federico G. Schwindt 2013-10-16 10:40:14 +01:00
parent 45d3e6aa91
commit ea26fd2840
1 changed files with 1 additions and 1 deletions

View File

@ -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);