Fix another strcat warning missed in commit 4c5b43
This commit is contained in:
parent
45d3e6aa91
commit
ea26fd2840
src/ngircd
|
@ -300,7 +300,7 @@ main(int argc, const char *argv[])
|
||||||
strlcat(NGIRCd_ProtoID, "Z", sizeof NGIRCd_ProtoID);
|
strlcat(NGIRCd_ProtoID, "Z", sizeof NGIRCd_ProtoID);
|
||||||
#endif
|
#endif
|
||||||
if (Conf_OperCanMode)
|
if (Conf_OperCanMode)
|
||||||
strcat(NGIRCd_ProtoID, "o");
|
strlcat(NGIRCd_ProtoID, "o", sizeof NGIRCd_ProtoID);
|
||||||
#else /* IRCPLUS */
|
#else /* IRCPLUS */
|
||||||
snprintf(NGIRCd_ProtoID, sizeof NGIRCd_ProtoID, "%s%s %s|%s",
|
snprintf(NGIRCd_ProtoID, sizeof NGIRCd_ProtoID, "%s%s %s|%s",
|
||||||
PROTOVER, PROTOIRC, PACKAGE_NAME, PACKAGE_VERSION);
|
PROTOVER, PROTOIRC, PACKAGE_NAME, PACKAGE_VERSION);
|
||||||
|
|
Loading…
Reference in New Issue