hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 85bb5f8915343c8bb5d97fa4de074db4ad65888c
parent 95beb0044f5e7e35d017df00a6373d37e39c5c41
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 20 Jun 2021 10:33:38 -0400

net::dns: correct documentation error

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mnet/dns/encoding.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/dns/encoding.ha b/net/dns/encoding.ha @@ -65,7 +65,7 @@ export fn decode(buf: []u8) *message = { // Partially decodes a [[question]], returning a byte slice (borrowed from the // buf parameter) which represents the value of the qname field (leaving the -// corresponding field in the question structure untouched). See [[name_decode]] +// corresponding field in the question structure untouched). See [[decode_name]] // to interpret the return value. export fn decode_question(buf: []u8, q: *question) []u8 = { abort(); // TODO @@ -74,7 +74,7 @@ export fn decode_question(buf: []u8, q: *question) []u8 = { // Partially decodes a [[rrecord]], returning a byte slice (borrowed from the // buf parameter) which represents the value of the name field (leaving the -// corresponding field in the question structure untouched). See [[name_decode]] +// corresponding field in the question structure untouched). See [[decode_name]] // to interpret the return value. export fn decode_rrecord(buf: []u8, r: *rrecord) []u8 = { abort(); // TODO