Use new binary code format
3-digits + null. Old was 3-digits + space + null. Change-Id: If5fdf9ced073f432ace3a76858025ad651c74e3d
This commit is contained in:
parent
ca9a0712b8
commit
c59ba4595b
@ -479,7 +479,7 @@ android_getaddrinfo_proxy(
|
||||
goto exit;
|
||||
}
|
||||
|
||||
char buf[5];
|
||||
char buf[4];
|
||||
// read result code for gethostbyaddr
|
||||
if (fread(buf, 1, sizeof(buf), proxy) != sizeof(buf)) {
|
||||
goto exit;
|
||||
|
@ -201,7 +201,7 @@ android_gethostbyaddr_proxy(char* nameBuf, size_t nameBufLen, const void *addr,
|
||||
}
|
||||
|
||||
result = 0;
|
||||
char msg_buf[5];
|
||||
char msg_buf[4];
|
||||
// read result code for gethostbyaddr
|
||||
if (fread(msg_buf, 1, sizeof(msg_buf), proxy) != sizeof(msg_buf)) {
|
||||
goto exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user