diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2015-08-03 20:58:34 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2015-08-03 20:58:34 -0400 |
commit | b7f75bdb383ab6908d9140548ec5efb86c86a400 (patch) | |
tree | 18d8a3283ae2fe665c945d46595436ad47261ea1 /examples | |
parent | a3d8547c806f9b4245e880613b97e83e0d484b2d (diff) | |
parent | 4545a8b14cf30b358fec0a20df1c9e6154fc7eb0 (diff) | |
download | mongo-b7f75bdb383ab6908d9140548ec5efb86c86a400.tar.gz |
Merge branch 'develop' into log-slot-revamp
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/ex_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/ex_cursor.c b/examples/c/ex_cursor.c index 112e38f9a2e..35597ca7b8e 100644 --- a/examples/c/ex_cursor.c +++ b/examples/c/ex_cursor.c @@ -93,7 +93,7 @@ cursor_search(WT_CURSOR *cursor) cursor->set_key(cursor, "foo"); - if ((ret = cursor->search(cursor)) != 0) + if ((ret = cursor->search(cursor)) == 0) ret = cursor->get_value(cursor, &value); return (ret); |