[PATCH] libosmocore[master]: Fix typo in osmo_fsm_log_addr()

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

Max gerrit-no-reply at lists.osmocom.org
Tue Nov 1 09:51:00 UTC 2016


Review at  https://gerrit.osmocom.org/1177

Fix typo in osmo_fsm_log_addr()

Previously function parameter was ignored, fsm_log_addr was always set
to false.

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


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/77/1177/1

diff --git a/src/fsm.c b/src/fsm.c
index 31ed194..f525f40 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -99,7 +99,7 @@
  */
 void osmo_fsm_log_addr(bool log_addr)
 {
-	fsm_log_addr = false;
+	fsm_log_addr = log_addr;
 }
 
 /*! \brief register a FSM with the core

-- 
To view, visit https://gerrit.osmocom.org/1177
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I74f06eab2dfa81dbb95e01f0b4b26448fd1b98f8
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list