Changeset 1678 in vbox for trunk/src/VBox/Devices/Serial
- Timestamp:
- Mar 23, 2007 1:27:23 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19814
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp
r1677 r1678 120 120 DWORD uError = GetLastError(); 121 121 122 if (uError == ERROR_PIPE_LISTENING) 123 { 124 /* nobody connected yet */ 122 if ( uError == ERROR_PIPE_LISTENING 123 || uError == ERROR_PIPE_NOT_CONNECTED) 124 { 125 /* No connection yet/anymore */ 125 126 cbReallyRead = 0; 126 127 … … 216 217 DWORD uError = GetLastError(); 217 218 218 if (uError == ERROR_PIPE_LISTENING) 219 { 220 /* No connection yet; just discard the write. */ 219 if ( uError == ERROR_PIPE_LISTENING 220 || uError == ERROR_PIPE_NOT_CONNECTED) 221 { 222 /* No connection yet/anymore; just discard the write. */ 221 223 cbWritten = *cbWrite; 222 224 }
Note:
See TracChangeset
for help on using the changeset viewer.