Change in libosmo-abis[master]: ipaccess.c: line_already_initialized: int -> bool

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/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Jan 22 12:12:23 UTC 2020


osmith has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/16980 )

Change subject: ipaccess.c: line_already_initialized: int -> bool
......................................................................

ipaccess.c: line_already_initialized: int -> bool

Change-Id: I1cff638664029ef1a592b98cd499e1d8b703ada1
---
M src/input/ipaccess.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved
  pespin: Looks good to me, approved



diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 2166524..9eff2f1 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -830,7 +830,7 @@
 }
 
 struct ipaccess_line {
-	int line_already_initialized;
+	bool line_already_initialized;
 };
 
 static int ipaccess_line_update(struct e1inp_line *line)
@@ -851,7 +851,7 @@
 	if (il->line_already_initialized)
 		return 0;
 
-	il->line_already_initialized = 1;
+	il->line_already_initialized = true;
 
 	switch(line->ops->cfg.ipa.role) {
 	case E1INP_LINE_R_BSC: {

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

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I1cff638664029ef1a592b98cd499e1d8b703ada1
Gerrit-Change-Number: 16980
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200122/fe0dd1f3/attachment.htm>


More information about the gerrit-log mailing list