projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03693ce
)
fix obvious cut and paste error
author
Dirk Hohndel
<hohndel@infradead.org>
Tue, 6 Apr 2010 22:36:25 +0000
(15:36 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 7 Apr 2010 01:55:56 +0000
(18:55 -0700)
the wrong variable is checked for success of an allocation
Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
lib/thread.cc
patch
|
blob
|
history
diff --git
a/lib/thread.cc
b/lib/thread.cc
index 1c8b39d208bc89a780675da6f27f98de0b168b97..48c070e6ce2261eff809c44ad1d490246474203a 100644
(file)
--- a/
lib/thread.cc
+++ b/
lib/thread.cc
@@
-236,7
+236,7
@@
_notmuch_thread_create (void *ctx,
return NULL;
matched_query = notmuch_query_create (notmuch, matched_query_string);
- if (unlikely (
thread_i
d_query == NULL))
+ if (unlikely (
matche
d_query == NULL))
return NULL;
thread = talloc (ctx, notmuch_thread_t);