bareos: playground 33f621a2
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Marco van Wieringen | Marco van Wieringen | playground | 2014-04-05 10:10 | playground e25bf665 | Pending |
Changeset | Optimize checking of required and default values. When printing the configuration we now first check if we need to print the value by checking if its a required value or matches the default setting in the config table. By moving it before the big switch we can eliminate quite some duplicate code and always use the right type of value in the union with result types. |
||||
mod - src/dird/dird_conf.c | Diff File | ||||
mod - src/lib/res.c | Diff File |