]> git.cworth.org Git - notmuch/commit
cli/config: allocate config using talloc_zero
authorJani Nikula <jani@nikula.org>
Sat, 17 Dec 2016 16:20:26 +0000 (18:20 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 7 Jan 2017 12:24:07 +0000 (08:24 -0400)
commit08b6fd75ab5691e31bc9c3fbcbdfc719f9b5fe62
tree673989cec9c9e75959add30c531f474917f5196f
parent11064124732961f6fcfd78226ebaba0abed2c8fe
cli/config: allocate config using talloc_zero

Do not initialize each field separately. It's more robust to allocate
the config with zero initialization, and only set the non-zero
defaults individually.
notmuch-config.c