summaryrefslogtreecommitdiff
path: root/c_src/permdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/permdb.c')
-rw-r--r--c_src/permdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c_src/permdb.c b/c_src/permdb.c
index ea0fc91..7abc8ed 100644
--- a/c_src/permdb.c
+++ b/c_src/permdb.c
@@ -500,6 +500,10 @@ keybits(const unsigned char *key, unsigned int level)
return (b >> (6 - 2*mlev)) & 0x3;
}
+/*
+ * Extracts the parts of KEY used for traversing a tree down to LEVEL
+ * and write an ASCII representation to S.
+ */
static void
keypart(const unsigned char *key, unsigned int level, ps_string *s)
{