diff options
author | Ben Greear <greearb@candelatech.com> | 2010-07-31 12:21:08 -0700 |
---|---|---|
committer | Ben Greear <greearb@candelatech.com> | 2010-07-31 12:21:08 -0700 |
commit | 3392a50ea3f8573ea4b7a9d82b9833dab60cb0e9 (patch) | |
tree | eee476c3e4ae3a2375799a27321c002aa543850e /ares_process.c | |
parent | 07bc7ea79509bcc9ef6e09151e81766ed00d3392 (diff) | |
download | c-ares-3392a50ea3f8573ea4b7a9d82b9833dab60cb0e9.tar.gz c-ares-3392a50ea3f8573ea4b7a9d82b9833dab60cb0e9.tar.bz2 c-ares-3392a50ea3f8573ea4b7a9d82b9833dab60cb0e9.zip |
typo: Fix compile bug for platforms that don't have sockaddr_storage.
Bug was introduced by me in previous commit.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c index 320dd5e..ccd6cb6 100644 --- a/ares_process.c +++ b/ares_process.c @@ -495,7 +495,7 @@ static void read_udp_packets(ares_channel channel, fd_set *read_fds, else if (!((from.ss_family == server->addr.family) && same_address((struct sockaddr *)&from, &server->addr))) #else - else if (!same_address((struct sockaddr *)&from, &server->addr))) + else if (!same_address((struct sockaddr *)&from, &server->addr)) #endif /* The address the response comes from does not match * the address we sent the request to. Someone may be |