Use the new NativeDaemonConnector style.
Prepend a 0 to match the new sequence-number style, though this module doesn't really need/use it. bug:5864209 Change-Id: Iacbcddaced6fe8bb01d186596a916e4fb4805fef
This commit is contained in:
@@ -187,7 +187,7 @@ android_gethostbyaddr_proxy(struct hostent* hp, const void *addr, socklen_t addr
|
||||
if (addrStr == NULL) {
|
||||
goto exit;
|
||||
}
|
||||
if (fprintf(proxy, "gethostbyaddr %s %d %d", addrStr, addrLen, addrFamily) < 0) {
|
||||
if (fprintf(proxy, "0 gethostbyaddr %s %d %d", addrStr, addrLen, addrFamily) < 0) {
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user