mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
fix obvious cut and paste error
the wrong variable is checked for success of an allocation Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
This commit is contained in:
parent
03693ce413
commit
4563f669ca
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ _notmuch_thread_create (void *ctx,
|
|||
return NULL;
|
||||
|
||||
matched_query = notmuch_query_create (notmuch, matched_query_string);
|
||||
if (unlikely (thread_id_query == NULL))
|
||||
if (unlikely (matched_query == NULL))
|
||||
return NULL;
|
||||
|
||||
thread = talloc (ctx, notmuch_thread_t);
|
||||
|
|
Loading…
Reference in a new issue