summaryrefslogtreecommitdiff
path: root/c_src/permdb.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-04-29 12:42:25 +0200
committerLinus Nordberg <linus@nordu.net>2016-04-29 12:42:25 +0200
commit41dfffcc1572073c3d1d201a0a19dd2c4ca1bb4a (patch)
tree679382b875bb46f2755545e86571e6ae6f734fd5 /c_src/permdb.c
parent3b905377a73863f7809523f768875a6d3aa260f0 (diff)
Whitespace and c-file-style "BSD".
Diffstat (limited to 'c_src/permdb.c')
-rw-r--r--c_src/permdb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/c_src/permdb.c b/c_src/permdb.c
index 0cf04ce..66b9813 100644
--- a/c_src/permdb.c
+++ b/c_src/permdb.c
@@ -155,13 +155,13 @@ static const uint64_t index_commit_cookie = 0x2fb1778c74a402e4;
static const uint64_t index_node_cookie = 0x2e0f555ad73210d1;
static const uint8_t data_file_cookie[] =
- {0xd5, 0x35, 0x51, 0xba, 0x53, 0x9a, 0x42, 0x52};
+ {0xd5, 0x35, 0x51, 0xba, 0x53, 0x9a, 0x42, 0x52};
static const uint8_t data_entry_cookie[] =
- {0xe7, 0xc1, 0xcd, 0xc2, 0xba, 0x3d, 0xc7, 0x7c};
+ {0xe7, 0xc1, 0xcd, 0xc2, 0xba, 0x3d, 0xc7, 0x7c};
static const uint8_t data_commit_start_cookie[] =
- {0x75, 0xc2, 0xe4, 0xb3, 0xd5, 0xf6, 0x43, 0xa1};
+ {0x75, 0xc2, 0xe4, 0xb3, 0xd5, 0xf6, 0x43, 0xa1};
static const uint8_t data_commit_end_cookie[] =
- {0x2b, 0x05, 0xee, 0xd6, 0x1b, 0x5a, 0xf5, 0x50};
+ {0x2b, 0x05, 0xee, 0xd6, 0x1b, 0x5a, 0xf5, 0x50};
int
committree(permdb_object *state);
@@ -852,7 +852,7 @@ addvalue(permdb_object *state, const unsigned char *key, unsigned int keylength,
unsigned int foundlevel = utarray_len(nodes) - 1;
- node_object lastnode = *(node_object *)utarray_back(nodes);
+ node_object lastnode = *(node_object *) utarray_back(nodes);
if (get_entry_in_node(lastnode, (unsigned char) kb) == 0) {
if (data != NULL) {
dataoffset = writedata(state, key, data, datalength);
@@ -1152,5 +1152,5 @@ portloop(permdb_object *state)
}
/* Local Variables: */
-/* c-file-style: "linux" */
+/* c-file-style: "BSD" */
/* End: */