From e3fea65f50c6e5e82e75b8940dcf857495136e9a Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 20 Oct 2011 18:53:37 +0200 Subject: resolv: commentary typo fix Signed-off-by: Bernhard Reutner-Fischer --- libc/inet/resolv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet') diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index 38a03bb9e..38254bdfd 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -2105,7 +2105,7 @@ int gethostbyname_r(const char *name, /* talk to DNS servers */ a.buf = buf; /* take into account that at least one address will be there, - * we'll need space of one in_addr + two addr_list[] elems */ + * we'll need space for one in_addr + two addr_list[] elems */ a.buflen = buflen - ((sizeof(addr_list[0]) * 2 + sizeof(struct in_addr))); a.add_count = 0; packet_len = __dns_lookup(name, T_A, &packet, &a); -- cgit v1.2.3