diff options
author | Elliott Hughes <enh@google.com> | 2015-07-23 17:12:58 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-07-23 21:14:38 -0700 |
commit | ead95ef737a47290f7ef4205479274d719122326 (patch) | |
tree | 9946617f72ea0ea7400c68d9d56052890b7cb3d6 /jdwp_service.cpp | |
parent | d9d0fc607254d619aa158bd0ce0da5e5a1ee7d2f (diff) | |
download | adb-ead95ef737a47290f7ef4205479274d719122326.tar.gz |
Report getaddrinfo failures correctly.
Also move us off the "convenience" function because you can't get useful
error reporting from it.
Change-Id: I5fcc6a6d762f5f60906980a7835f01a35045be65
Diffstat (limited to 'jdwp_service.cpp')
-rw-r--r-- | jdwp_service.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jdwp_service.cpp b/jdwp_service.cpp index a2e0f88..06e7780 100644 --- a/jdwp_service.cpp +++ b/jdwp_service.cpp @@ -22,6 +22,7 @@ #include <errno.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> |