This commit is contained in:
Kovid Goyal 2016-07-14 12:32:55 +05:30
parent 94b0d82029
commit c7f626083d

View File

@ -195,7 +195,7 @@ HANDLE open_named_pipe(LPWSTR pipename) {
fprintf(stderr, "Failed to open pipe. GetLastError()=%d\n", GetLastError()); fflush(stderr); return ans;
}
if (!WaitNamedPipeW(pipename, 20000)) {
fprintf(stderr, "Failed to open pipe. 20 second wait timed out.\n", GetLastError()); fflush(stderr); return ans;
fprintf(stderr, "Failed to open pipe. 20 second wait timed out. GetLastError()=%d\n", GetLastError()); fflush(stderr); return ans;
}
}
return ans;