]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Can keep this routine but note it can block.
authorWouter Wijngaards <wouter@NLnetLabs.nl>
Mon, 5 Oct 2009 10:52:51 +0000 (10:52 +0000)
committerWouter Wijngaards <wouter@NLnetLabs.nl>
Mon, 5 Oct 2009 10:52:51 +0000 (10:52 +0000)
ldns/net.h.in

index 109a3f4dd8974aa614b9ee0cf0c55e4a9ec14736..d4beb7d9920be917fc368701a70caaac037475fa 100644 (file)
@@ -147,7 +147,7 @@ ssize_t ldns_udp_send_query(ldns_buffer *qbin, int sockfd, const struct sockaddr
 uint8_t *ldns_tcp_read_wire_timeout(int sockfd, size_t *size, struct timeval timeout);
 
 /**
- * *DEPRECATED* please use ldns_tcp_read_wire_timeout, that checks for timeouts.
+ * This routine may block. Use ldns_tcp_read_wire_timeout, it checks timeouts.
  * Gives back a raw packet from the wire and reads the header data from the given
  * socket. Allocates the data (of size size) itself, so don't forget to free
  *