Commit 08e5100b authored by Job Vranish's avatar Job Vranish
Browse files

moved a misplaced assert

parent 069c1a9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,11 +194,11 @@ KineticStatus KineticOperation_PutCallback(KineticOperation* const operation, Ki
    assert(operation->connection != NULL);
    LOGF3("PUT callback w/ operation (0x%0llX) on connection (0x%0llX)",
        operation, operation->connection);
    assert(operation->response != NULL);
    assert(operation->entry != NULL);

    if (status == KINETIC_STATUS_SUCCESS)
    {
        assert(operation->response != NULL);
        // Propagate newVersion to dbVersion in metadata, if newVersion specified
        KineticEntry* entry = operation->entry;
        if (entry->newVersion.array.data != NULL && entry->newVersion.array.len > 0) {