repo: ngircd
action: commit
revision: 
path_from: 
revision_from: ea26fd2840f6c7f286407e86f832d6ec5e93eeeb:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit ea26fd2840f6c7f286407e86f832d6ec5e93eeeb
Author: Federico G. Schwindt 
Date:   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
index 9c2740976a10d59c1baba7c1201a490b445b50fd..
index ..6af58169e48f6382056e7af68536eaceeb1e9fae 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);

-----END OF PAGE-----