George Neill's fix acountry sample application compilation failure.
This commit is contained in:
parent
423a18cecc
commit
db23538898
@ -12,6 +12,9 @@
|
|||||||
connected to. Only necessary on UDP sockets as they are connection-less, TCP
|
connected to. Only necessary on UDP sockets as they are connection-less, TCP
|
||||||
is unaffected.
|
is unaffected.
|
||||||
|
|
||||||
|
- Fix by George Neill:
|
||||||
|
Fixed compilation of acountry sample application failure on some systems.
|
||||||
|
|
||||||
* Aug 4 2008 (Daniel Stenberg)
|
* Aug 4 2008 (Daniel Stenberg)
|
||||||
- Fix by Tofu Linden:
|
- Fix by Tofu Linden:
|
||||||
|
|
||||||
|
@ -10,10 +10,11 @@ This is what's new and changed in the c-ares 1.5.3 release:
|
|||||||
o Improved configure detection of number of arguments for getservbyport_r
|
o Improved configure detection of number of arguments for getservbyport_r
|
||||||
o Improved query-ID randomness
|
o Improved query-ID randomness
|
||||||
o Validate that DNS response address matches the request address
|
o Validate that DNS response address matches the request address
|
||||||
|
o fix acountry sample application compilation failure on some systems
|
||||||
|
|
||||||
Thanks go to these friendly people for their efforts and contributions:
|
Thanks go to these friendly people for their efforts and contributions:
|
||||||
|
|
||||||
Brad House, Yang Tse, Phil Blundell, Tofu Linden
|
Brad House, Yang Tse, Phil Blundell, Tofu Linden, George Neill
|
||||||
and obviously Daniel Stenberg
|
and obviously Daniel Stenberg
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
|
@ -60,6 +60,10 @@
|
|||||||
#include "inet_net_pton.h"
|
#include "inet_net_pton.h"
|
||||||
#include "inet_ntop.h"
|
#include "inet_ntop.h"
|
||||||
|
|
||||||
|
#ifndef INADDR_NONE
|
||||||
|
#define INADDR_NONE 0xffffffff
|
||||||
|
#endif
|
||||||
|
|
||||||
static const char *usage = "acountry [-vh?] {host|addr} ...\n";
|
static const char *usage = "acountry [-vh?] {host|addr} ...\n";
|
||||||
static const char nerd_fmt[] = "%u.%u.%u.%u.zz.countries.nerd.dk";
|
static const char nerd_fmt[] = "%u.%u.%u.%u.zz.countries.nerd.dk";
|
||||||
static const char *nerd_ver1 = nerd_fmt + 14;
|
static const char *nerd_ver1 = nerd_fmt + 14;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user