lsteamclient: Clear last error in create_win_interface().

CW-Bug-Id: #23178
This commit is contained in:
Paul Gofman 2024-01-08 21:07:57 -06:00 committed by Arkadiusz Hiler
parent 1eb8799803
commit 22672c5b0a

View File

@ -301,6 +301,7 @@ struct w_steam_iface *create_win_interface(const char *name, void *u_iface)
done:
LeaveCriticalSection(&steamclient_cs);
if (!ret) ERR("Don't recognize interface name: %s\n", name);
SetLastError(0);
return ret;
}