From 26b524e1d7b9a00045882d3c0f25486485b1d6a8 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 31 Aug 2022 00:34:39 +0300 Subject: [PATCH] Revert "fix(usocket): Fix typo in return value function name" This reverts commit 88c72acd771ac6c96ea7f4e57293307e282ad49f. See discussion on #390 --- src/usocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usocket.c b/src/usocket.c index df19f78..7965db6 100644 --- a/src/usocket.c +++ b/src/usocket.c @@ -403,7 +403,7 @@ const char *socket_hoststrerror(int err) { if (err <= 0) return io_strerror(err); switch (err) { case HOST_NOT_FOUND: return PIE_HOST_NOT_FOUND; - default: return strerror(err); + default: return hstrerror(err); } }