Use _find_prefix instead of hard-coded term in notmuch_query_search
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:21:57 +0000 (22:21 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:21:57 +0000 (22:21 -0700)
commit17f9c6a0ef7fb303c4b60422667ad063d91234bc
tree6c36aab94338efa9c2d2aab6c1000f66a3b7bb34
parent15d949b7404b322df39e2aae7a5653e4cf8a8dc9
Use _find_prefix instead of hard-coded term in notmuch_query_search

I'm planning to change prefix values soon, which would break code
like this. So eliminate the fragility by going through our existing
_find_prefix function.
query.cc