From: Wouter Wijngaards Date: Mon, 5 Oct 2009 10:52:51 +0000 (+0000) Subject: Can keep this routine but note it can block. X-Git-Tag: release-1.6.2~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bb375fb99e39fb023e4f065684832ffcd6711e0;p=thirdparty%2Fldns.git Can keep this routine but note it can block. --- diff --git a/ldns/net.h.in b/ldns/net.h.in index 109a3f4d..d4beb7d9 100644 --- a/ldns/net.h.in +++ b/ldns/net.h.in @@ -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 *