]> granicus.if.org Git - neomutt/commitdiff
boolify retval of mutt_path_to_absolute()
authorRichard Russon <rich@flatcap.org>
Sat, 20 Apr 2019 01:34:13 +0000 (02:34 +0100)
committerRichard Russon <rich@flatcap.org>
Wed, 24 Apr 2019 11:35:08 +0000 (12:35 +0100)
mutt/path.c
mutt/path.h

index f393ea2ee5d8ae933320c78bcba41568cdd81b67..85da0979a55494cc55dccebe045a62d9877d2272 100644 (file)
@@ -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;
index 6f241d2dd55d179b52fe9e71bc40ff1db72ca977..b2cdd509e62621e87f7fdb00ff954313db7987f4 100644 (file)
@@ -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 */