bareos: master f0de1f72

Author Committer Branch Timestamp Parent
pstorz mvwieringen master 2016-04-27 11:28 master 0b8475dc 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