bareos: bareos-14.2 453828b4

Author Committer Branch Timestamp Parent
pstorz mvwieringen bareos-14.2 2016-04-27 11:28 bareos-14.2 8a0f3635 Pending
Changeset dird: Show the output of dlerror() correctly.

As we use NPRT(dlerror()) we call dlerror() twice while expanding
the NPRT() macro and the manual page of dlerror() says:

The returned string contains no trailing newline. If no dynamic
linking errors have occurred since the last invocation of dlerror(),
dlerror() returns NULL. Thus, invoking dlerror() a second time,
immediately following a prior invocation, results in NULL being
returned.
mod - src/cats/cats_backends.c Diff File