aboutsummaryrefslogtreecommitdiffstats
path: root/libc/netbsd/net/getaddrinfo.c
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-03-09 11:34:27 -0800
committerRobert Greenwalt <rgreenwalt@google.com>2012-03-09 11:50:46 -0800
commitc59ba4595be25a1213955233fcf9bcd1afe6438e (patch)
treeeacafbaa2b301b0e28ab145cb4f28e10ae2fd212 /libc/netbsd/net/getaddrinfo.c
parentca9a0712b89eee017c2a40056c101d86c1f7d02f (diff)
downloadandroid_bionic-c59ba4595be25a1213955233fcf9bcd1afe6438e.tar.gz
android_bionic-c59ba4595be25a1213955233fcf9bcd1afe6438e.tar.bz2
android_bionic-c59ba4595be25a1213955233fcf9bcd1afe6438e.zip
Use new binary code format
3-digits + null. Old was 3-digits + space + null. Change-Id: If5fdf9ced073f432ace3a76858025ad651c74e3d
Diffstat (limited to 'libc/netbsd/net/getaddrinfo.c')
-rw-r--r--libc/netbsd/net/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/netbsd/net/getaddrinfo.c b/libc/netbsd/net/getaddrinfo.c
index 7dd65ff3a..326b09c58 100644
--- a/libc/netbsd/net/getaddrinfo.c
+++ b/libc/netbsd/net/getaddrinfo.c
@@ -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;