quieter
This commit is contained in:
parent
b947e6afe5
commit
79e0e336c5
1 changed files with 0 additions and 2 deletions
|
@ -37,12 +37,10 @@ bool BaseConnection::Open()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GetLastError() != ERROR_PIPE_BUSY) {
|
if (GetLastError() != ERROR_PIPE_BUSY) {
|
||||||
printf("Could not open pipe. Error: %d\n", GetLastError());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!WaitNamedPipeW(PipeName, 10000)) {
|
if (!WaitNamedPipeW(PipeName, 10000)) {
|
||||||
printf("Could not open pipe: 10 second wait timed out.\n");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue