Use new binary code format

3-digits + null.  Old was 3-digits + space + null.

Change-Id: If5fdf9ced073f432ace3a76858025ad651c74e3d
This commit is contained in:
Robert Greenwalt 2012-03-09 11:34:27 -08:00
parent ca9a0712b8
commit c59ba4595b
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;