mirror of
https://github.com/osmarks/ngircd.git
synced 2025-06-27 07:32:57 +00:00
Fix another strcat warning missed in commit 4c5b43
This commit is contained in:
parent
45d3e6aa91
commit
ea26fd2840
@ -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…
x
Reference in New Issue
Block a user