Loading src/examples/put_nonblocking.c +2 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ int main(int argc, char** argv) SHA1(value.array.data, value.bytesUsed, &sha1[0]); ByteBuffer_Append(&tag, sha1, sizeof(sha1)); // Because I'm passing a pointer to this entry to KineticClient_Put(), this entry must not // go out of scope until the PUT completes KineticEntry entry = { .key = key, .tag = tag, Loading test/system/test_system_getnext_getprevious.c +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ static void compare_against_offset_key(GET_CMD cmd, bool metadataOnly) .algorithm = KINETIC_ALGORITHM_SHA1, .metadataOnly = metadataOnly, }; KineticStatus status; KineticStatus status = KINETIC_STATUS_INVALID; switch (cmd) { case CMD_NEXT: Loading Loading
src/examples/put_nonblocking.c +2 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ int main(int argc, char** argv) SHA1(value.array.data, value.bytesUsed, &sha1[0]); ByteBuffer_Append(&tag, sha1, sizeof(sha1)); // Because I'm passing a pointer to this entry to KineticClient_Put(), this entry must not // go out of scope until the PUT completes KineticEntry entry = { .key = key, .tag = tag, Loading
test/system/test_system_getnext_getprevious.c +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ static void compare_against_offset_key(GET_CMD cmd, bool metadataOnly) .algorithm = KINETIC_ALGORITHM_SHA1, .metadataOnly = metadataOnly, }; KineticStatus status; KineticStatus status = KINETIC_STATUS_INVALID; switch (cmd) { case CMD_NEXT: Loading