bareos: master 0b8475dc

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