3 #include "notmuch-private.h"
6 main (unused (int argc), unused (char **argv))
11 void *local = talloc_new (NULL);
13 while ((nread = getline (&line, &len, stdin)) != -1) {
14 int last = strlen (line) - 1;
15 if (line[last] == '\n')
18 char *mid = _notmuch_message_id_parse_strict (local, line);
20 printf ("GOOD: %s\n", mid);
22 printf ("BAD: %s\n", line);