cli/insert: abstract temporary filename generation
authorJani Nikula <jani@nikula.org>
Mon, 22 Sep 2014 09:54:58 +0000 (11:54 +0200)
committerDavid Bremner <david@tethera.net>
Wed, 24 Sep 2014 18:28:42 +0000 (20:28 +0200)
commitdcfcb4ba7b9dfdb49ec62d8fb47a72fb60540655
tree83abb103b803e6ecfab2bd61064757b6e2190dbd
parentcd3d4e62d63819bd8eced5e2d8e5b6e07ea45e41
cli/insert: abstract temporary filename generation

This will clean up the usage. There's the slight functional change of
potentially ending up doing extra gethostname and getpid calls, but
this is neglible.
notmuch-insert.c