[Box Backup-commit] COMMIT r1440 - box/chris/general/lib/backupclient
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sat Mar 24 14:37:44 GMT 2007
Author: chris
Date: 2007-03-24 14:37:44 +0000 (Sat, 24 Mar 2007)
New Revision: 1440
Modified:
box/chris/general/lib/backupclient/BackupStoreFilenameClear.cpp
Log:
Use logging framework to remove "Reallocating filename encoding/decoding
buffer" noise for those who don't want it
Modified: box/chris/general/lib/backupclient/BackupStoreFilenameClear.cpp
===================================================================
--- box/chris/general/lib/backupclient/BackupStoreFilenameClear.cpp 2007-03-24 14:37:04 UTC (rev 1439)
+++ box/chris/general/lib/backupclient/BackupStoreFilenameClear.cpp 2007-03-24 14:37:44 UTC (rev 1440)
@@ -13,6 +13,7 @@
#include "CipherContext.h"
#include "CipherBlowfish.h"
#include "Guards.h"
+#include "Logging.h"
#include "MemLeakFindOn.h"
@@ -203,9 +204,9 @@
{
if(sEncDecBufferSize < BufSize)
{
-#ifndef WIN32
- TRACE2("Reallocating filename encoding/decoding buffer from %d to %d\n", sEncDecBufferSize, BufSize);
-#endif
+ BOX_TRACE("Reallocating filename encoding/decoding "
+ "buffer from " << sEncDecBufferSize <<
+ " to " << BufSize);
spEncDecBuffer->Resize(BufSize);
sEncDecBufferSize = BufSize;
MEMLEAKFINDER_NOT_A_LEAK(*spEncDecBuffer);
More information about the Boxbackup-commit
mailing list