bareos: bareos-16.2 5f9891ef

Author Committer Branch Timestamp Parent
pstorz pstorz bareos-16.2 2016-11-04 12:13 bareos-16.2 aa3dfb3a Pending
Changeset NDMP: Avoid double slashes in ndmp directory names

The old code added slashes to directories without
checking if the slash is not already there.

This was both done in the code handling NDMP4_FH_ADD_DIR
and in the code handling NDMP4_FH_ADD_FILE calls.

We now we only add slashes if needed, which avoids the
problems caused by double slashes in the filenames.
mod - src/dird/ndmp_fhdb_lmdb.c Diff File