Don't truncate version tag

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@469 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-07 05:45:56 +00:00
parent 6249e41c6f
commit 44d38b7714
+3 -3
View File
@@ -41,9 +41,9 @@ CString CZNC::GetTag(bool bIncludeVersion) {
return "ZNC - by prozac@rottenboy.com";
}
char szBuf[32];
memset(szBuf, 0, 32);
snprintf(szBuf, 32, "ZNC %1.3f - by prozac@rottenboy.com", VERSION);
char szBuf[128];
memset(szBuf, 0, 128);
snprintf(szBuf, 127, "ZNC %1.3f - by prozac@rottenboy.com", VERSION);
return szBuf;
}