]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Clarify hash_result() semantics
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 21 Feb 2010 17:04:24 +0000 (18:04 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 21 Feb 2010 17:20:53 +0000 (18:20 +0100)
hash.c

diff --git a/hash.c b/hash.c
index f63cfae97001e784d9d9af79c5792a61b38d0115..bc300cef12beeb19bdc8210f3e6a401818e71604 100644 (file)
--- a/hash.c
+++ b/hash.c
@@ -81,7 +81,7 @@ int hash_file(struct mdfour *md, const char *fname)
        return ret;
 }
 
-/* return the hash result as a hex string */
+/* Return the hash result as a hex string. Caller frees. */
 char *hash_result(struct mdfour *md)
 {
        unsigned char sum[16];