Changeset 2105
- Timestamp:
- 13/03/2008 21:30:12 (10 months ago)
- Files:
-
- 1 modified
-
box/trunk/lib/server/WinNamedPipeStream.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/server/WinNamedPipeStream.cpp
r1877 r2105 441 441 if (!Success) 442 442 { 443 DWORD err = GetLastError();444 BOX_ERROR("Failed to write to control socket: " <<445 GetErrorMessage(err));446 Close();447 448 443 // ERROR_NO_DATA is a strange name for 449 444 // "The pipe is being closed". No exception wanted. 445 446 DWORD err = GetLastError(); 447 448 if (err != ERROR_NO_DATA) 449 { 450 BOX_ERROR("Failed to write to control " 451 socket: " << GetErrorMessage(err)); 452 } 453 454 Close(); 450 455 451 456 if (err == ERROR_NO_DATA)
