[Box Backup-commit] COMMIT r1467 - box/chris/merge/lib/server

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sat, 24 Mar 2007 21:53:01 +0000


Author: chris
Date: 2007-03-24 21:53:01 +0000 (Sat, 24 Mar 2007)
New Revision: 1467

Modified:
   box/chris/merge/lib/server/WinNamedPipeStream.cpp
Log:
Change named pipe from message to byte mode. Thanks to Charles Lecklider
for pointing this out.


Modified: box/chris/merge/lib/server/WinNamedPipeStream.cpp
===================================================================
--- box/chris/merge/lib/server/WinNamedPipeStream.cpp	2007-03-24 21:51:58 UTC (rev 1466)
+++ box/chris/merge/lib/server/WinNamedPipeStream.cpp	2007-03-24 21:53:01 UTC (rev 1467)
@@ -89,8 +89,8 @@
 		pName,                     // pipe name 
 		PIPE_ACCESS_DUPLEX |       // read/write access 
 		FILE_FLAG_OVERLAPPED,      // enabled overlapped I/O
-		PIPE_TYPE_MESSAGE |        // message type pipe 
-		PIPE_READMODE_MESSAGE |    // message-read mode 
+		PIPE_TYPE_BYTE |           // message type pipe 
+		PIPE_READMODE_BYTE |       // message-read mode 
 		PIPE_WAIT,                 // blocking mode 
 		1,                         // max. instances  
 		4096,                      // output buffer size