summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c7e568)
raw | patch | inline | side by side (parent: 4c7e568)
author | Amit Gupta <amit.gupta221@gmail.com> | |
Mon, 6 Jul 2009 11:07:00 +0000 (13:07 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 6 Jul 2009 12:06:26 +0000 (14:06 +0200) |
src/memcached.c | patch | blob | history |
diff --git a/src/memcached.c b/src/memcached.c
index 5af2091453a439aa090a09ba8dabdde27886ae33..2d999ce4e15be392dc9a3faed8dfca34395fee4c 100644 (file)
--- a/src/memcached.c
+++ b/src/memcached.c
port = MEMCACHED_DEF_PORT;
}
- if ((ai_return = getaddrinfo (host, port, NULL, &ai_list)) != 0) {
+ if ((ai_return = getaddrinfo (host, port, &ai_hints, &ai_list)) != 0) {
char errbuf[1024];
ERROR ("memcached: getaddrinfo (%s, %s): %s",
host, port,