Change in libosmocore[master]: bitvec: Fix return value in doc for bitvec_write_field()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Jan 3 22:14:32 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/16719 )

Change subject: bitvec: Fix return value in doc for bitvec_write_field()
......................................................................

bitvec: Fix return value in doc for bitvec_write_field()

Change-Id: I629e71242cb6bafa3c1b1d65ae7ec6687ec203d1
---
M src/bitvec.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/bitvec.c b/src/bitvec.c
index 0c263ad..ef8621c 100644
--- a/src/bitvec.c
+++ b/src/bitvec.c
@@ -497,7 +497,7 @@
  *  \param[in] bv The boolean vector to work on
  *  \param[in,out] write_index Where writing supposed to start in the vector
  *  \param[in] len How many bits to write
- *  \returns next write index or negative value on error
+ *  \returns 0 on success, negative value on error
  */
 int bitvec_write_field(struct bitvec *bv, unsigned int *write_index, uint64_t val, unsigned int len)
 {

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16719
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I629e71242cb6bafa3c1b1d65ae7ec6687ec203d1
Gerrit-Change-Number: 16719
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200103/b4e63e8c/attachment.htm>


More information about the gerrit-log mailing list