htcs: fix magic template argument deduction, do Close/Connect/Bind

This commit is contained in:
Michael Scire authored and SciresM committed 2021-02-24 04:06:54 -08:00
1 parent f71943c03a
commit 0c791f2279
8 files changed
+135 -23

No files matched your search

@@ -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);