summaryrefslogtreecommitdiff
path: root/c_src/permdb.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-05-09 13:40:39 +0200
committerLinus Nordberg <linus@nordu.net>2016-05-09 13:40:39 +0200
commited5b1feb5f7280d9054543f8b241fd5ee451ec52 (patch)
tree674a6af4212eb02f459871995a0d35804e2395c0 /c_src/permdb.c
parent36fda12574319531bf88793239701ac61c00c47d (diff)
Doc change.
Uppercasing formal parameters, for consistency.
Diffstat (limited to 'c_src/permdb.c')
-rw-r--r--c_src/permdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c_src/permdb.c b/c_src/permdb.c
index 35f77e6..7ad9c61 100644
--- a/c_src/permdb.c
+++ b/c_src/permdb.c
@@ -845,7 +845,7 @@ writedata(permdb_object *state, const unsigned char *key,
/*
* Adds a key-value pair KEY + DATA by
- * 1) updating the data file buffer with key and data,
+ * 1) updating the data file buffer with KEY and DATA,
* 2) if necessary, adding a new node to the index tree,
* 3) marking the parent nodes as dirty and
* 4) adding new and changed nodes to the dirtynodes list.
@@ -859,7 +859,7 @@ writedata(permdb_object *state, const unsigned char *key,
* Returns 0 if they key already exists,
* 1 if the data was written,
* -1 on error.
-*/
+ */
int
addvalue(permdb_object *state, const unsigned char *key, unsigned int keylength,
const unsigned char *data, size_t datalength, node_offset dataoffset)