diff options
author | Kenny Root <kroot@google.com> | 2012-02-24 11:04:56 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-02-24 11:04:56 -0800 |
commit | 83c366cf093b068da38e24e4ae4525c015ddde20 (patch) | |
tree | c9692a2b37b5beefd4af35d37f903af7f7dad786 /libc/netbsd/net | |
parent | 7dbbfac0fc7bbca072885185bf9bbee9e2e40e63 (diff) | |
parent | 1fb6662d1aa51eec54cfc133c40cacc0b15aad30 (diff) | |
download | bionic-83c366cf093b068da38e24e4ae4525c015ddde20.zip bionic-83c366cf093b068da38e24e4ae4525c015ddde20.tar.gz bionic-83c366cf093b068da38e24e4ae4525c015ddde20.tar.bz2 |
Merge "Revert "Use the new NativeDaemonConnector style.""
Diffstat (limited to 'libc/netbsd/net')
-rw-r--r-- | libc/netbsd/net/getaddrinfo.c | 2 | ||||
-rw-r--r-- | libc/netbsd/net/getnameinfo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/netbsd/net/getaddrinfo.c b/libc/netbsd/net/getaddrinfo.c index 6aee697..6ae6e3e 100644 --- a/libc/netbsd/net/getaddrinfo.c +++ b/libc/netbsd/net/getaddrinfo.c @@ -461,7 +461,7 @@ android_getaddrinfo_proxy( // Send the request. proxy = fdopen(sock, "r+"); - if (fprintf(proxy, "0 getaddrinfo %s %s %d %d %d %d", + if (fprintf(proxy, "getaddrinfo %s %s %d %d %d %d", hostname == NULL ? "^" : hostname, servname == NULL ? "^" : servname, hints == NULL ? -1 : hints->ai_flags, diff --git a/libc/netbsd/net/getnameinfo.c b/libc/netbsd/net/getnameinfo.c index 313b2bf..d3d0011 100644 --- a/libc/netbsd/net/getnameinfo.c +++ b/libc/netbsd/net/getnameinfo.c @@ -187,7 +187,7 @@ android_gethostbyaddr_proxy(struct hostent* hp, const void *addr, socklen_t addr if (addrStr == NULL) { goto exit; } - if (fprintf(proxy, "0 gethostbyaddr %s %d %d", addrStr, addrLen, addrFamily) < 0) { + if (fprintf(proxy, "gethostbyaddr %s %d %d", addrStr, addrLen, addrFamily) < 0) { goto exit; } |