]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Improve description of get_home_directory()
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 28 Feb 2010 13:53:30 +0000 (14:53 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 28 Feb 2010 13:56:03 +0000 (14:56 +0100)
util.c

diff --git a/util.c b/util.c
index d2547dc1298e956fa5331de97d4c87083d219c87..cca1eb2604fa27df31645b37a18465dfb62e470b 100644 (file)
--- a/util.c
+++ b/util.c
@@ -677,8 +677,8 @@ int create_empty_file(const char *fname)
 }
 
 /*
-  return current users home directory or die
-*/
+ * Return current user's home directory, or NULL if it can't be determined.
+ */
 const char *get_home_directory(void)
 {
        const char *p = getenv("HOME");