Code

screen_search: return NULL if advanced search is not used
authorMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 17:23:32 +0000 (19:23 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 17:23:32 +0000 (19:23 +0200)
commit55dcff25455c5a2ed1153f4d5bef1803bc4d0bf8
treee2ef71f6bcc22fe76a027c0378ff2efe41b62b19
parent88d9c23684738a19ceaca6ac885da2e8d54e5de3
screen_search: return NULL if advanced search is not used

After parsing the query, return NULL immediately if no valid advanced
search query could be parsed.  Our caller do_search() will then fall
back to the simple search.
src/screen_search.c