You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ja...@apache.org on 2015/07/08 02:39:42 UTC
trafficserver git commit: Pass in INADDR_ANY instead of NULL to match
types
Repository: trafficserver
Updated Branches:
refs/heads/master 29c26cd66 -> f6b5c389f
Pass in INADDR_ANY instead of NULL to match types
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f6b5c389
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f6b5c389
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f6b5c389
Branch: refs/heads/master
Commit: f6b5c389fc17152e40f1f1519b1d8f85675d6eb4
Parents: 29c26cd
Author: Thomas Jackson <ja...@apache.org>
Authored: Tue Jul 7 17:39:10 2015 -0700
Committer: Thomas Jackson <ja...@apache.org>
Committed: Tue Jul 7 17:39:32 2015 -0700
----------------------------------------------------------------------
iocore/hostdb/HostDB.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f6b5c389/iocore/hostdb/HostDB.cc
----------------------------------------------------------------------
diff --git a/iocore/hostdb/HostDB.cc b/iocore/hostdb/HostDB.cc
index 378fb4b..eb33f7f 100644
--- a/iocore/hostdb/HostDB.cc
+++ b/iocore/hostdb/HostDB.cc
@@ -885,7 +885,7 @@ HostDBProcessor::getbynameport_re(Continuation *cont, const char *ahostname, int
HOSTDB_INCREMENT_DYN_STAT(hostdb_re_dns_on_reload_stat);
}
sockaddr sa;
- ats_ip4_set(&sa, NULL, htons(opt.port));
+ ats_ip4_set(&sa, INADDR_ANY, htons(opt.port));
return getby(cont, ahostname, len, &sa, force_dns, opt.host_res_style, opt.timeout);
}