summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2017-09-19 08:09:32 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2017-09-19 08:09:32 +0000
commit07226ec145782b4d6a52b534240b97e851c1cd50 (patch)
treee3b3b60ac57f3b1e735bc91b10f5c9d36c74280f
parentf3702f701c28a950af0e2b62a5b56dbdd0c2d165 (diff)
downloadlibapr-07226ec145782b4d6a52b534240b97e851c1cd50.tar.gz
Merge r1808836 from trunk:
* test/testipsub.c (test_bad_input): Fix test in r1808832 to match failure code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1808838 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/testipsub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testipsub.c b/test/testipsub.c
index 89a3a1fa1..342b5ca37 100644
--- a/test/testipsub.c
+++ b/test/testipsub.c
@@ -45,7 +45,7 @@ static void test_bad_input(abts_case *tc, void *data)
,{"127.0.0.1.2", NULL, APR_EBADIP}
,{"127.0.0.1.2", "8", APR_EBADIP}
,{"127", "255.0.0.0", APR_EBADIP} /* either EBADIP or EBADMASK seems fine */
- ,{"", NULL, APR_EBADIP}
+ ,{"", NULL, APR_EINVAL}
#if APR_HAVE_IPV6
,{"::1", NULL, APR_SUCCESS}
,{"::1", "20", APR_SUCCESS}