diff options
-rw-r--r-- | c_src/permdb.c | 4 |
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) |