[PATCH] libosmocore[master]: fsm: log tweak: upon free, say 'Freeing instance'

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Dec 21 13:44:11 UTC 2016


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

fsm: log tweak: upon free, say 'Freeing instance'

Logging 'Release' is a bit ambiguous. At first I tought a subscriber
connection was being released, IMHO 'Freeing instance' better describes that
we are freeing an osmo_fsm_inst.

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


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/75/1475/1

diff --git a/src/fsm.c b/src/fsm.c
index 842c766..319c842 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -467,7 +467,7 @@
 	if (fi->fsm->cleanup)
 		fi->fsm->cleanup(fi, cause);
 
-	LOGPFSMSRC(fi, file, line, "Release\n");
+	LOGPFSMSRC(fi, file, line, "Freeing instance\n");
 	osmo_fsm_inst_free(fi);
 
 	/* indicate our termination to the parent */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5cf99707d2ba5620b2988f777fa39cc806ec0212
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list