Changes since v4: (based on Tomi's feedback): * Replaced strlen with config_len in the call to g_key_file_load_from_data() * Added a null pointer check and minor whitespace fixes before exiting get_config_from_file Ioan-Adrian Ratiu (1): notmuch-config: replace config reading function Jani Nikula (1): cli: abstract config file reading to a separate function notmuch-config.c | 107 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 77 insertions(+), 30 deletions(-) -- 2.10.2