diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-31 16:30:25 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-04-09 17:57:15 +0200 |
commit | 71f76a1f42958ca6dca26669daf41a568d694c18 (patch) | |
tree | bd7a5532a46f55b690172b64d8136693a94caa52 /include/osmocom/core/talloc.h | |
parent | 975ee6bd44ca18c82ecf5aea91c361baf248a0ff (diff) |
fsm: id: properly set name in case of NULL id
Since alloc relies on osmo_fsm_inst_update_id() to set the name, never skip
that.
In osmo_fsm_inst_alloc(), we allow passing a NULL id, and in
osmo_fsm_inst_update_id(), we set the name without id if id is NULL.
Change-Id: I6d6b09a811b82770818f19b189a57d9fc4a8133b
Diffstat (limited to 'include/osmocom/core/talloc.h')
0 files changed, 0 insertions, 0 deletions