X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Frandom-corpus.c;h=d0354e3584082b0c1e1b55f307b56f131acfbb4a;hb=6967dcbb025280d33c9cd08502de7a5cdb051ae7;hp=9272afda8bedab235293a870ed9de794943e6dc0;hpb=2f4beda434c59f9e2f5b7c32d26543bad7217ad4;p=notmuch diff --git a/test/random-corpus.c b/test/random-corpus.c index 9272afda..d0354e35 100644 --- a/test/random-corpus.c +++ b/test/random-corpus.c @@ -50,7 +50,7 @@ typedef struct { /* * Choose about half ascii as test characters, as ascii - * punctation and whitespace is the main cause of problems for + * punctuation and whitespace is the main cause of problems for * the (old) restore parser. * * We then favour code points with 2 byte encodings. Note that @@ -116,7 +116,7 @@ random_utf8_string (void *ctx, size_t char_count) /* stubs since we cannot link with notmuch.o */ const notmuch_opt_desc_t notmuch_shared_options[] = { - { } + { } }; const char *notmuch_requested_db_uuid = NULL; @@ -190,6 +190,7 @@ main (int argc, char **argv) srandom (seed); int count; + for (count = 0; count < num_messages; count++) { int j; /* explicitly allow zero tags */