mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
sceNetInet: Refactor errno handling and logging, so we always see how it changes
This commit is contained in:
1 parent
e438de1a00
commit
1013be090c
5 files changed
+150
-92
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user