sceNetInet: Refactor errno handling and logging, so we always see how it changes

This commit is contained in:
Henrik Rydgård committed 2025-01-12 14:57:51 +01:00
1 parent e438de1a00
commit 1013be090c
5 files changed
+150 -92

No files matched your search

+1 -1
View File
@@ -330,7 +330,7 @@ static void encode_domain_name(const char *domain, unsigned char *encoded) {
const char *start = pos;
while (*pos && *pos != '.') pos++;
*ptr++ = pos - start;
*ptr++ = (unsigned char)(pos - start);
memcpy(ptr, start, pos - start);
ptr += pos - start;