mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Upped buffer to 8192 in Copy()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@448 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -176,7 +176,7 @@ bool CFile::Copy(const CString& sOldFileName, const CString& sNewFileName, bool
|
||||
char szBuf[8192];
|
||||
unsigned int len = 0;
|
||||
|
||||
while ((len = OldFile.Read(szBuf, 100))) {
|
||||
while ((len = OldFile.Read(szBuf, 8192))) {
|
||||
NewFile.Write(szBuf, len);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user