minor documentation formatting
diff --git a/inc/qcbor/qcbor_decode.h b/inc/qcbor/qcbor_decode.h
index 98424fc..a1a64b9 100644
--- a/inc/qcbor/qcbor_decode.h
+++ b/inc/qcbor/qcbor_decode.h
@@ -243,7 +243,7 @@
@c val.string */
#define QCBOR_TYPE_DAYS_STRING 77
-/** Type for integer days since Jan 1 1970 described in
+/** Type for integer days since Jan 1 1970 described in
[RFC 8943](https://tools.ietf.org/html/rfc8943). Data is in
@c val.epochDays */
#define QCBOR_TYPE_DAYS_EPOCH 78
@@ -296,7 +296,8 @@
/** The value for uDataType @ref QCBOR_TYPE_UINT64. */
uint64_t uint64;
/** The value for @c uDataType @ref QCBOR_TYPE_BYTE_STRING and
- @ref QCBOR_TYPE_TEXT_STRING. Also QCBOR_TYPE_DAYS_STRING. */
+ @ref QCBOR_TYPE_TEXT_STRING. Also
+ @ref QCBOR_TYPE_DAYS_STRING. */
UsefulBufC string;
/** The "value" for @c uDataType @ref QCBOR_TYPE_ARRAY or @ref
QCBOR_TYPE_MAP -- the number of items in the array or map.
diff --git a/inc/qcbor/qcbor_encode.h b/inc/qcbor/qcbor_encode.h
index 86f2d11..d676211 100644
--- a/inc/qcbor/qcbor_encode.h
+++ b/inc/qcbor/qcbor_encode.h
@@ -1474,7 +1474,7 @@
@ref QCBOR_ENCODE_AS_BORROWED.
@param[in] szDate Null-terminated string with date to add.
- This date format is described in
+ This date format is described in
[RFC 8943] (https://tools.ietf.org/html/rfc3339), but that mainly
references RFC 3339. The string szDate must be in the forrm
specified the ABNF for a full-date in
diff --git a/inc/qcbor/qcbor_spiffy_decode.h b/inc/qcbor/qcbor_spiffy_decode.h
index 7fc3681..b45dc55 100644
--- a/inc/qcbor/qcbor_spiffy_decode.h
+++ b/inc/qcbor/qcbor_spiffy_decode.h
@@ -1103,9 +1103,9 @@
@param[in] uTagRequirement One of @c QCBOR_TAG_REQUIREMENT_XXX.
@param[out] pnDays The decoded epoch date.
- This decodes the CBOR epoch date tag, integer tag
- number of 100, or encoded CBOR that is not a tag, but borrows the
- content format. The date is the number of days (not number of seconds) before or after
+ This decodes the CBOR epoch date tag, integer tag number of 100, or
+ encoded CBOR that is not a tag, but borrows the content format. The
+ date is the number of days (not number of seconds) before or after
Jan 1, 1970.
See @ref Decode-Errors for discussion on how error handling works.
diff --git a/test/qcbor_decode_tests.c b/test/qcbor_decode_tests.c
index 283199d..f594a5b 100644
--- a/test/qcbor_decode_tests.c
+++ b/test/qcbor_decode_tests.c
@@ -2558,7 +2558,6 @@
Untagged values
*/
-// {"SDS": 1004("1985-04-12"), 99: "1985-04-12", "SDE": 100(-10676), 8: 3994}
static const uint8_t spSpiffyDateTestInput[] = {
0x86,