cli: abstract new mailbox creation
authorJani Nikula <jani@nikula.org>
Thu, 3 Sep 2015 19:39:58 +0000 (22:39 +0300)
committerDavid Bremner <david@tethera.net>
Mon, 7 Sep 2015 12:43:31 +0000 (09:43 -0300)
commit243ca658dff5aefa2d6c76121451463360fa56a7
tree958dcf45b4ddd8f9fbe6bf5ab354c00428e16889
parentdfe15c0e1b18f4d9ab5d328399e56b3be4a251a5
cli: abstract new mailbox creation

We'll be needing more mailbox creation soon, so abstract it
away. While at it, check for allocation failures. No other functional
changes.
notmuch-search.c