commit | 43df109b4b0bb8e08cb4068c4983f32584dfef9a | [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 | 9946617f72ea0ea7400c68d9d56052890b7cb3d6 | |
parent | 6cde25edd8c2ef313aebe5852496baa5218ee48a [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/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>