pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/15154


Change subject: fsm: Quote received event token in logging line
......................................................................

fsm: Quote received event token in logging line

Otherwise confusing log lines can appear on some event names, for
instance:
"Received Event Received an attach request"

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



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/54/15154/1

diff --git a/src/fsm.c b/src/fsm.c
index c886351..af4f1ee 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -806,7 +806,7 @@
        fs = &fi->fsm->states[fi->state];

        LOGPFSMSRC(fi, file, line,
-                  "Received Event %s\n", osmo_fsm_event_name(fsm, event));
+                  "Received Event '%s'\n", osmo_fsm_event_name(fsm, event));

        if (((1 << event) & fsm->allstate_event_mask) && fsm->allstate_action) {
                fsm->allstate_action(fi, event, data);

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ibeaeb046058777c2367e3cbfff0e00fc7e3a1640
Gerrit-Change-Number: 15154
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to