Permalink
Browse files

Remove extra patch

  • Loading branch information...
eric committed Sep 8, 2013
1 parent 19b6b61 commit 298231b79fced0638f6b007c08b7c9a0cca7ac3c
Showing with 0 additions and 24 deletions.
  1. +0 −24 ext/patch-zookeeper
View
@@ -1,24 +0,0 @@
---- c/src/zookeeper.c.orig 2013-04-22 16:20:14.000000000 -0700
-+++ c/src/zookeeper.c 2013-04-22 16:21:36.000000000 -0700
-@@ -413,7 +413,9 @@
- static int getaddrinfo_errno(int rc) {
- switch(rc) {
- case EAI_NONAME:
-+#ifdef EAI_NODATA
- case EAI_NODATA:
-+#endif
- return ENOENT;
- case EAI_MEMORY:
- return ENOMEM;
-@@ -546,7 +548,11 @@
- //EAI_BADFLAGS or EAI_ADDRFAMILY with AF_UNSPEC and
- // ai_flags as AI_ADDRCONFIG
- if ((hints.ai_flags == AI_ADDRCONFIG) &&
-+#ifdef EAI_ADDRFAMILY
- ((rc ==EAI_BADFLAGS) || (rc == EAI_ADDRFAMILY))) {
-+#else
-+ (rc ==EAI_BADFLAGS)) {
-+#endif
- //reset ai_flags to null
- hints.ai_flags = 0;
- //retry getaddrinfo

0 comments on commit 298231b

Please sign in to comment.