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>
pull/1/head
Ben Greear 15 years ago
parent 07bc7ea795
commit 3392a50ea3
  1. 2
      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

Loading…
Cancel
Save