Revert "Use the new NativeDaemonConnector style."

The other changes relating to this were already reverted.

This reverts commit 1625c7a837
This commit is contained in:
Kenny Root 2012-02-24 11:04:42 -08:00 committed by The Android Automerger
parent 906dbea2b4
commit 93b8f941f2
2 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ android_getaddrinfo_proxy(
// Send the request. // Send the request.
proxy = fdopen(sock, "r+"); 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, hostname == NULL ? "^" : hostname,
servname == NULL ? "^" : servname, servname == NULL ? "^" : servname,
hints == NULL ? -1 : hints->ai_flags, hints == NULL ? -1 : hints->ai_flags,

View File

@ -187,7 +187,7 @@ android_gethostbyaddr_proxy(struct hostent* hp, const void *addr, socklen_t addr
if (addrStr == NULL) { if (addrStr == NULL) {
goto exit; 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; goto exit;
} }