From f72a06e25ab4a27caa2c07270f6b2f0c8d176738 Mon Sep 17 00:00:00 2001 From: Evelyn Date: Mon, 25 Jul 2016 17:17:35 +0100 Subject: [PATCH] Update mg_dns_uncompress_name.md --- docs/c-api/dns.h/mg_dns_uncompress_name.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/c-api/dns.h/mg_dns_uncompress_name.md b/docs/c-api/dns.h/mg_dns_uncompress_name.md index 3db03df8..b58f2fdd 100644 --- a/docs/c-api/dns.h/mg_dns_uncompress_name.md +++ b/docs/c-api/dns.h/mg_dns_uncompress_name.md @@ -7,15 +7,15 @@ signature: | char *dst, int dst_len); --- -Uncompress a DNS compressed name. +Uncompresses a DNS compressed name. -The containing dns message is required because the compressed encoding +The containing DNS message is required because of the compressed encoding and reference suffixes present elsewhere in the packet. -If name is less than `dst_len` characters long, the remainder -of `dst` is terminated with `\0' characters. Otherwise, `dst` is not +If the name is less than `dst_len` characters long, the remainder +of `dst` is terminated with `\0` characters. Otherwise, `dst` is not *terminated. If `dst_len` is 0 `dst` can be NULL. -Return the uncompressed name length. +Returns the uncompressed name length.