[MERGED] 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 15:40:56 UTC 2016


Max has submitted this change and it was merged.

Change subject: Fix typo in osmo_fsm_log_addr()
......................................................................


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(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I74f06eab2dfa81dbb95e01f0b4b26448fd1b98f8
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list