[Tarantool-patches] [PATCH 1/4] xrow: fix comment typo

Serge Petrenko sergepetrenko at tarantool.org
Thu Jun 18 15:14:00 MSK 2020


---
 src/box/xrow.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/box/xrow.h b/src/box/xrow.h
index 75af71b77..027b6b14f 100644
--- a/src/box/xrow.h
+++ b/src/box/xrow.h
@@ -214,7 +214,7 @@ xrow_encode_dml(const struct request *request, struct region *region,
  * @param replica_id master's instance id.
  * @param lsn last confirmed lsn.
  * @retval -1 on error.
- * @retval > 0 xrow bodycnt.
+ * @retval 0 success.
  */
 int
 xrow_encode_confirm(struct xrow_header *row, uint32_t replica_id, int64_t lsn);
@@ -224,8 +224,8 @@ xrow_encode_confirm(struct xrow_header *row, uint32_t replica_id, int64_t lsn);
  * @param row xrow header.
  * @param[out] replica_id master's instance id.
  * @param[out] lsn last confirmed lsn.
- * @retwal -1 on error.
- * @retwal 0 success.
+ * @retval -1 on error.
+ * @retval 0 success.
  */
 int
 xrow_decode_confirm(struct xrow_header *row, uint32_t *replica_id, int64_t *lsn);
-- 
2.24.3 (Apple Git-128)



More information about the Tarantool-patches mailing list