results_get: Fix to return NULL if past the end of the results
authorCarl Worth <cworth@cworth.org>
Mon, 26 Oct 2009 12:14:51 +0000 (05:14 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Oct 2009 12:14:51 +0000 (05:14 -0700)
commitb42c4418a401d6192f9c6e8584bc780bb3ff9960
treeed44577dd82dee0d2dbc299bb6dd0f213ed6a68a
parente8d8906d9c912d02adbf9ab5ed66f5d6d579fa99
results_get: Fix to return NULL if past the end of the results

We had documented both notmuch_thread_results_get and
notmuch_message_results_get to return NULL if (! has_more)
but we hadn't actually implemented that. Fix.
query.cc