diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-10-20 18:53:37 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-10-20 18:55:51 +0200 |
commit | e3fea65f50c6e5e82e75b8940dcf857495136e9a (patch) | |
tree | 4ae43747d4f70708bd72132fcb0f2e1b4e78b673 /libc | |
parent | 40f8f5f0336ddcd6f7ea2d45d4713b553a225843 (diff) |
resolv: commentary typo fix
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/resolv.c | 2 |
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); |