fix(usocket): Fix typo in return value function name

This commit is contained in:
zhaozg 2022-08-30 15:19:44 +08:00 committed by Caleb Maclennan
parent 30ddf0eaea
commit 88c72acd77
No known key found for this signature in database
GPG Key ID: B538286DE04ECFE5

View File

@ -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 hstrerror(err);
default: return strerror(err);
}
}