Home GnuPG

core: Avoid endless recursion if log_set_sink has not been used.

Description

core: Avoid endless recursion if log_set_sink has not been used.

* src/logging.c (_gpgrt_log_set_sink): Do not call gf_is_valid if the
default sink has been requested.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 27 2017, 2:47 PM
Parents
rEd1e3401013f8: core: Add new macro log_assert to the API.
Branches
Unknown
Tags
Unknown