[Box Backup-commit] COMMIT r2764 - box/invisnet/vs2010/0.11/lib/server

subversion at boxbackup.org subversion at boxbackup.org
Sat Oct 2 22:02:33 BST 2010


Author: invisnet
Date: 2010-10-02 22:02:32 +0100 (Sat, 02 Oct 2010)
New Revision: 2764

Modified:
   box/invisnet/vs2010/0.11/lib/server/WinNamedPipeStream.cpp
Log:
Use the correct boolean type

Modified: box/invisnet/vs2010/0.11/lib/server/WinNamedPipeStream.cpp
===================================================================
--- box/invisnet/vs2010/0.11/lib/server/WinNamedPipeStream.cpp	2010-10-02 17:57:04 UTC (rev 2763)
+++ box/invisnet/vs2010/0.11/lib/server/WinNamedPipeStream.cpp	2010-10-02 21:02:32 UTC (rev 2764)
@@ -462,7 +462,7 @@
 	{
 		DWORD NumBytesWrittenThisTime = 0;
 
-		bool Success = WriteFile( 
+		BOOL Success = WriteFile( 
 			mSocketHandle,    // pipe handle 
 			pByteBuffer + NumBytesWrittenTotal, // message 
 			NBytes      - NumBytesWrittenTotal, // message length 
@@ -553,7 +553,7 @@
 		mIsServer = false;
 	}
 
-	bool result = CloseHandle(mSocketHandle);
+	BOOL result = CloseHandle(mSocketHandle);
 
 	mSocketHandle = INVALID_HANDLE_VALUE;
 	mIsConnected = false;




More information about the Boxbackup-commit mailing list