Fix: Use the bt_iter_set_pos function to set the begin_pos
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 21 Nov 2013 23:07:20 +0000 (18:07 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 23 Nov 2013 06:07:28 +0000 (01:07 -0500)
commitd899d6de0f3ee37fdb4400dcf05e83c52cd4173c
treefc54fe5ba2cb71cc577803a1ad127d6aac1fde20
parent8bb2718146f91805907cd31f381e1895cdb3f2ec
Fix: Use the bt_iter_set_pos function to set the begin_pos

The current implementation of bt_iter_init asserts on begin_pos
that are not BT_SEEK_BEGIN. This uses the iterator set_pos function
to achieve the intended behavior.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/iterator.c
This page took 0.026117 seconds and 4 git commands to generate.