mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-26 16:01:28 +00:00
Use null in query
This commit is contained in:
parent
5a224ee71a
commit
e6da8c66d8
2
dns.c
2
dns.c
|
@ -281,7 +281,7 @@ dns_write(int fd, int id, char *buf, int len)
|
||||||
strncpy(d, topdomain, strlen(topdomain)+1);
|
strncpy(d, topdomain, strlen(topdomain)+1);
|
||||||
|
|
||||||
printf("Resolving %s\n", data);
|
printf("Resolving %s\n", data);
|
||||||
dns_query(fd, id, data, T_A);
|
dns_query(fd, id, data, T_NULL);
|
||||||
return avail;
|
return avail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue