From: Pontifik <[email protected]>

Signed-off-by: Pontifik <[email protected]>
---
 notes.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/notes.c b/notes.c
index 88cf474..6d7da1e 100644
--- a/notes.c
+++ b/notes.c
@@ -539,8 +539,8 @@ static unsigned char determine_fanout(struct int_node 
*tree, unsigned char n,
        return fanout + 1;
 }
 
-/* hex SHA1 + 19 * '/' + NUL */
-#define FANOUT_PATH_MAX 40 + 19 + 1
+/* hex SHA1 + 19 * '/' + NUL = 60 */
+#define FANOUT_PATH_MAX 60
 
 static void construct_path_with_fanout(const unsigned char *sha1,
                unsigned char fanout, char *path)
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to