From: Richard Russon Date: Sat, 20 Apr 2019 01:34:13 +0000 (+0100) Subject: boolify retval of mutt_path_to_absolute() X-Git-Tag: 2019-10-25~245^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f36aa0727ff6811864c6b2b5fbef2ec36d570b6f;p=neomutt boolify retval of mutt_path_to_absolute() --- diff --git a/mutt/path.c b/mutt/path.c index f393ea2ee..85da0979a 100644 --- a/mutt/path.c +++ b/mutt/path.c @@ -426,7 +426,7 @@ char *mutt_path_dirname(const char *path) * * @note \a path should be at least of PATH_MAX length */ -int mutt_path_to_absolute(char *path, const char *reference) +bool mutt_path_to_absolute(char *path, const char *reference) { if (!path || !reference) return false; diff --git a/mutt/path.h b/mutt/path.h index 6f241d2dd..b2cdd509e 100644 --- a/mutt/path.h +++ b/mutt/path.h @@ -42,6 +42,6 @@ size_t mutt_path_realpath(char *buf); bool mutt_path_tidy(char *buf); bool mutt_path_tidy_dotdot(char *buf); bool mutt_path_tidy_slash(char *buf); -int mutt_path_to_absolute(char *path, const char *reference); +bool mutt_path_to_absolute(char *path, const char *reference); #endif /* MUTT_LIB_PATH_H */