Tanay Abhra writes:
> + git_config_get_string("imap.folder", (const char**)&imap_folder);
The same "why (const char **)--is that an API mistake?" question
applies here and other calls to git_config_get_string() in this
patch.
--
To unsubscribe from this list: send the line "unsubscribe git"
Use `git_config_get_*()` family instead of `git_config()` to take advantage of
the config-set API which provides a cleaner control flow.
The function now raises an error instead of dying in cases where a NULL value is
not allowed.
Signed-off-by: Tanay Abhra
---
imap-send.c | 62 +
2 matches
Mail list logo