bareos: bareos-15.2 cd2433e4

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-15.2 2016-07-26 17:25 bareos-15.2 01cae663 Pending
Changeset config: Refactor escape_string function.

The escape_string function used for pretty printing from now on has a
POOL_MEM as argument to store the escaped data in. It also now sizes the
buffer right based on the len argument given. This way the calling code
can be cleaned up quite a bit as it now does the same action multiple
times which leads to much more code maintenance.
mod - src/dird/dird_conf.c Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/res.c Diff File
mod - src/lib/util.c Diff File