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
Tue Jan 21 14:54:46 UTC 2020


osmith has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/80/16980/1

diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index cd10bd6..a2d3f47 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -62,7 +62,7 @@
 #define ka_fsm_for_ts(ipaline,ofd) (ipaline->ka_fsm[ofd->priv_nr-1])
 
 struct ipaccess_line {
-	int line_already_initialized;
+	bool line_already_initialized;
 	struct osmo_fsm_inst* ka_fsm[NUM_E1_TS];
 };
 
@@ -960,7 +960,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: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200121/e8b27f78/attachment.htm>


More information about the gerrit-log mailing list