mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-17 04:22:59 +03:00
mdig : remove family in print_addrinfo
This commit is contained in:
parent
0d58f6171e
commit
d66326410f
@ -87,7 +87,7 @@ static void interlocked_fprintf(FILE *stream, const char * format, ...)
|
||||
#define ELOG(format, ...) interlocked_fprintf(stderr, "[%d] " format "\n", tid, ##__VA_ARGS__)
|
||||
#define VLOG(format, ...) {if (glob.verbose) ELOG(format, ##__VA_ARGS__);}
|
||||
|
||||
static void print_addrinfo(struct addrinfo *ai, char family)
|
||||
static void print_addrinfo(struct addrinfo *ai)
|
||||
{
|
||||
char str[64];
|
||||
while (ai)
|
||||
@ -136,7 +136,7 @@ static void *t_resolver(void *arg)
|
||||
}
|
||||
else
|
||||
{
|
||||
print_addrinfo(result, glob.family);
|
||||
print_addrinfo(result);
|
||||
freeaddrinfo(result);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user