mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 16:44:22 -04:00
htcs: fix magic template argument deduction, do Close/Connect/Bind
This commit is contained in:
parent
f71943c03a
commit
0c791f2279
8 changed files with 135 additions and 23 deletions
|
@ -58,8 +58,7 @@ namespace ams::htcs::impl {
|
|||
|
||||
void HtcsManager::Close(s32 *out_err, s32 *out_res, s32 desc) {
|
||||
/* Invoke our implementation. */
|
||||
s32 err;
|
||||
const Result result = m_impl->DestroySocket(std::addressof(err), desc);
|
||||
const Result result = m_impl->DestroySocket(desc);
|
||||
|
||||
/* Set output. */
|
||||
*out_err = ConvertResultToErrorCode(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue