bareos: bareos-14.2 1f68a6d9

Author Committer Branch Timestamp Parent
pstorz mvwieringen bareos-14.2 2016-04-27 11:28 bareos-14.2 453828b4 Pending
Changeset stored: 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/stored/sd_backends.c Diff File