]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
Fix typo in notmuch.h documentation regarding database open modes
[notmuch] / notmuch-count.c
index 97242abaa778b00764264a0c396e65f6be75e188..39f08c6ca94476757c5591c7a171c74c16875018 100644 (file)
@@ -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, "");
     }