aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-11-01 10:49:31 +0100
committerMax <msuraev@sysmocom.de>2016-11-01 10:49:31 +0100
commit61281f4c4780ede1545e9e8499278789433d3d30 (patch)
treef1e231102e9e005dabc6878889584dfe6a6a03b5
parent72e43f02c3408ec85c259ee483ac75f01ecb6cad (diff)
Fix typo in osmo_fsm_log_addr()
Previously function parameter was ignored, fsm_log_addr was always set to false. Change-Id: I74f06eab2dfa81dbb95e01f0b4b26448fd1b98f8
-rw-r--r--src/fsm.c2
1 files changed, 1 insertions, 1 deletions
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 @@ static bool fsm_log_addr = true;
*/
void osmo_fsm_log_addr(bool log_addr)
{
- fsm_log_addr = false;
+ fsm_log_addr = log_addr;
}
/*! \brief register a FSM with the core