diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-07-08 02:50:06 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-07-08 02:50:57 +0200 |
commit | bf5b170101b287082637ef729feee983f8cda36a (patch) | |
tree | e3fe85841df11c7ddbc431afe8c76abef6bd17dd /api/logger.c | |
parent | version: bump (diff) | |
download | wintun-bf5b170101b287082637ef729feee983f8cda36a.tar.xz wintun-bf5b170101b287082637ef729feee983f8cda36a.zip |
api: print correct last error when failing
Prior to the conversion, LastError is ERROR_SUCCESS, so move the logging
to be after the conversion.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/logger.c')
0 files changed, 0 insertions, 0 deletions