diff options
Diffstat (limited to 'notmuch-count.c')
-rw-r--r-- | notmuch-count.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/notmuch-count.c b/notmuch-count.c index 97242aba..39f08c6c 100644 --- a/notmuch-count.c +++ b/notmuch-count.c @@ -90,7 +90,8 @@ notmuch_count_command (void *ctx, int argc, char *argv[]) fprintf (stderr, "Out of memory.\n"); return 1; } - if (*query_str == '\0' || (*query_str == '*' && *(query_str+1) == '\0')) { + + if (*query_str == '\0') { query_str = talloc_strdup (ctx, ""); } |