summaryrefslogtreecommitdiff
path: root/examples/c/ex_all.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-02-02 10:56:15 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-02-02 10:56:15 +1100
commit1e5200e0cbec0ad26fab13974452271fb65ff38c (patch)
tree903a2e41825b35ada0bae62b7a6210150e95adc7 /examples/c/ex_all.c
parent09ed40c4dec46311eca052260d1985e14d5d4e83 (diff)
downloadmongo-1e5200e0cbec0ad26fab13974452271fb65ff38c.tar.gz
Remove the config string from WT_CURSOR::close: it is no longer required and simplifies the code.
Diffstat (limited to 'examples/c/ex_all.c')
-rw-r--r--examples/c/ex_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c
index cc1aa784c94..88d01cb467c 100644
--- a/examples/c/ex_all.c
+++ b/examples/c/ex_all.c
@@ -217,7 +217,7 @@ cursor_ops(WT_SESSION *session)
}
/*! [Close the cursor] */
- ret = cursor->close(cursor, NULL);
+ ret = cursor->close(cursor);
/*! [Close the cursor] */
return (ret);