mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-02-18 07:54:38 +01:00
add_message: Fix crash for file recognized as not email.
This crash was introduced sometime recently, as previously things worked fine when notmuch detected that a file is not an email. We're definitely overdue for that test suite.
This commit is contained in:
parent
436b8a2fda
commit
3942933962
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
|
||||||
notmuch_message_t **message_ret)
|
notmuch_message_t **message_ret)
|
||||||
{
|
{
|
||||||
notmuch_message_file_t *message_file;
|
notmuch_message_file_t *message_file;
|
||||||
notmuch_message_t *message;
|
notmuch_message_t *message = NULL;
|
||||||
notmuch_status_t ret = NOTMUCH_STATUS_SUCCESS;
|
notmuch_status_t ret = NOTMUCH_STATUS_SUCCESS;
|
||||||
notmuch_private_status_t private_status;
|
notmuch_private_status_t private_status;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue