mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Avoid compilation warning on Windows.
This commit is contained in:
parent
9543ed96a4
commit
15ebc25704
@ -69,11 +69,11 @@
|
||||
|
||||
static INIT_LIST_OF(struct document, format_cache);
|
||||
|
||||
#ifdef HAVE_INET_NTOP
|
||||
/* DNS callback. */
|
||||
static void
|
||||
found_dns(void *data, struct sockaddr_storage *addr, int addrlen)
|
||||
{
|
||||
#ifdef HAVE_INET_NTOP
|
||||
unsigned char buf[64];
|
||||
const unsigned char *res;
|
||||
struct sockaddr *s;
|
||||
@ -91,8 +91,8 @@ found_dns(void *data, struct sockaddr_storage *addr, int addrlen)
|
||||
if (res) {
|
||||
*ip = stracpy(res);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
get_ip(struct document *document)
|
||||
|
Loading…
Reference in New Issue
Block a user