From 3e437e6910f9d83c4d819684db046029e943049e Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 18 Dec 2020 06:25:34 +1100 Subject: [PATCH] docs: fix simple typo, udated -> updated There is a small typo in include/coap2/coap_asn1_internal.h. Should read `updated` rather than `udated`. --- include/coap2/coap_asn1_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/coap2/coap_asn1_internal.h b/include/coap2/coap_asn1_internal.h index 657bcd83..1e1b58a2 100644 --- a/include/coap2/coap_asn1_internal.h +++ b/include/coap2/coap_asn1_internal.h @@ -45,7 +45,7 @@ typedef int (*asn1_validate)(const uint8_t *data, size_t size); * * @param ptr The current asn.1 object length pointer * - * @return The length of the asn.1 object. @p ptr is udated to past the length. + * @return The length of the asn.1 object. @p ptr is updated to be after the length. */ size_t asn1_len(const uint8_t **ptr); @@ -56,7 +56,7 @@ size_t asn1_len(const uint8_t **ptr); * @param constructed 1 if current tag is constructed * @param class The current class of the tag * - * @return The tag value.@p ptr is udated to pass the tag. + * @return The tag value.@p ptr is updated to be after the tag. */ coap_asn1_tag_t asn1_tag_c(const uint8_t **ptr, int *constructed, int *class);