summaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-20 18:53:37 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-20 18:55:51 +0200
commite3fea65f50c6e5e82e75b8940dcf857495136e9a (patch)
tree4ae43747d4f70708bd72132fcb0f2e1b4e78b673 /libc/inet/resolv.c
parent40f8f5f0336ddcd6f7ea2d45d4713b553a225843 (diff)
resolv: commentary typo fix
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c2
1 files changed, 1 insertions, 1 deletions
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);