lib: clean up _notmuch_database_split_path
authorJani Nikula <jani@nikula.org>
Sun, 10 Apr 2016 19:43:23 +0000 (22:43 +0300)
committerDavid Bremner <david@tethera.net>
Tue, 12 Apr 2016 23:46:42 +0000 (20:46 -0300)
commit54aeab1962d77455a65d0d4338beaabbb936310f
treea165634b47e562ca1c134ddcb54e23cbd914750b
parenta352d9ceaa7e08b7c9de294419ec4c323b81ca15
lib: clean up _notmuch_database_split_path

Make the logic it a bit easier to read. No functional changes.
lib/database.cc