diff options
author | Simon Rozman <simon@rozman.si> | 2020-11-06 16:50:00 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-07 15:04:33 +0100 |
commit | b0ebb6d0ad5dbf1a8aff14a7c8aa2089de6e66ff (patch) | |
tree | ccb7d75b3c6c9ccd65f885059fb925fb9ad5d478 /api/logger.h | |
parent | proj: use less scary caps for zip license file (diff) | |
download | wintun-b0ebb6d0ad5dbf1a8aff14a7c8aa2089de6e66ff.tar.xz wintun-b0ebb6d0ad5dbf1a8aff14a7c8aa2089de6e66ff.zip |
api: fix LastError override
The LastError was overridden by the stdout reader thread exit code
masking the true reason why ExecuteRunDll32() failed and even worse: as
the thread exited gracefully, the true reason was overridden by
ERROR_SUCCESS and returning TRUE (success).
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/logger.h')
0 files changed, 0 insertions, 0 deletions