blob: 37a7001396cbf25cd10bca02d50384a3ad835480 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- hiredis-0.14.0/test.c
+++ hiredis-0.14.0_p/test.c
@@ -439,6 +439,7 @@
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,"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 ||
|