diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/ndisc/patches/patch-src_addrinfo_c |
Initial import
Diffstat (limited to 'package/ndisc/patches/patch-src_addrinfo_c')
-rw-r--r-- | package/ndisc/patches/patch-src_addrinfo_c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/ndisc/patches/patch-src_addrinfo_c b/package/ndisc/patches/patch-src_addrinfo_c new file mode 100644 index 000000000..74dbe928d --- /dev/null +++ b/package/ndisc/patches/patch-src_addrinfo_c @@ -0,0 +1,21 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ndisc6-0.9.8.orig/src/addrinfo.c 2008-05-01 14:52:28.000000000 +0200 ++++ ndisc6-0.9.8/src/addrinfo.c 2009-05-10 19:14:46.000000000 +0200 +@@ -53,7 +53,7 @@ gai_perror (int errval, const char *msg) + static int + printnames (const char *name, int family, int aflags, int nflags, bool single) + { +- struct addrinfo hints, *res; ++ struct addrinfo hints, *res, *ptr; + + memset (&hints, 0, sizeof (hints)); + hints.ai_family = family; +@@ -67,7 +67,7 @@ printnames (const char *name, int family + return -1; + } + +- for (struct addrinfo *ptr = res; ptr != NULL; ptr = ptr->ai_next) ++ for (ptr = res; ptr != NULL; ptr = ptr->ai_next) + { + char hostname[NI_MAXHOST]; + |