aboutsummaryrefslogtreecommitdiffstats
path: root/main/hiredis/musl-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/hiredis/musl-test.patch')
-rw-r--r--main/hiredis/musl-test.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/hiredis/musl-test.patch b/main/hiredis/musl-test.patch
index 37a7001396..400f4a9d56 100644
--- a/main/hiredis/musl-test.patch
+++ b/main/hiredis/musl-test.patch
@@ -1,10 +1,11 @@
--- hiredis-0.14.0/test.c
+++ hiredis-0.14.0_p/test.c
-@@ -439,6 +439,7 @@
+@@ -439,6 +439,8 @@
c = redisConnect((char*)"idontexist.test", 6379);
test_cond(c->err == REDIS_ERR_OTHER &&
(strcmp(c->errstr,"Name or service not known") == 0 ||
+ strcmp(c->errstr,"Name does not resolve") == 0 ||
++ strcmp(c->errstr,"Try again") == 0 ||
strcmp(c->errstr,"Can't resolve: idontexist.test") == 0 ||
strcmp(c->errstr,"nodename nor servname provided, or not known") == 0 ||
strcmp(c->errstr,"No address associated with hostname") == 0 ||