URL:
https://github.com/SSSD/sssd/pull/5735
Title: #5735: util: Avoid an extern variable by using sss_chain_id_get()
alexey-tikhonov commented:
"""
In general this feels cleaner but this would require inclusion of `sss_chain_id.c` to
`libsss_debug`:
```
libsss_debug.so: undefined reference to `sss_chain_id_get'
```
and this, in turn, would require linking against `libtevent` (not the case currently and
probably better to be avoided as `libsss_debug` is used in different helpers that
doesn't link against libtevent)
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5735#issuecomment-892485276