commit | 381cfa9a8bc262dcd823a8bb6adc189595a2fe7d | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jul 23 17:12:58 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jul 23 21:14:38 2015 -0700 |
tree | 6bd7d3424ce08a8d3b792264ba064c074d34ee7e | |
parent | 89cc750e9b2623aae3c257ce6c72f4ffe3e1bb33 [diff] [blame] |
Report getaddrinfo failures correctly. Also move us off the "convenience" function because you can't get useful error reporting from it. Change-Id: I5fcc6a6d762f5f60906980a7835f01a35045be65
diff --git a/adb/jdwp_service.cpp b/adb/jdwp_service.cpp index a2e0f88..06e7780 100644 --- a/adb/jdwp_service.cpp +++ b/adb/jdwp_service.cpp
@@ -22,6 +22,7 @@ #include <errno.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h>