On Thu, 12 Jan 2012 09:08:18 -0400, David Bremner <da...@tethera.net> wrote: > > > All of the other format fixes look very reasonable to me. I think you > > managed to find one of the least canonical source files in the tree. > > Was that intentional? > > Yes, I expect there would be less changes elsewhere. Although the > changes might be more controversial, I guess. > > The corresponding diff for notmuch-search.c follows > > diff --git a/notmuch-search.c b/notmuch-search.c
[ ... ] > @@ -122,7 +122,7 @@ sanitize_string (const void *ctx, const char *str) > loop = out = talloc_strdup (ctx, str); > > for (; *loop; loop++) { > - if ((unsigned char)(*loop) < 32) > + if ((unsigned char) (*loop) < 32) > *loop = '?'; Should (cast) be concatenated without space to the castee > } > return out; > @@ -160,7 +160,7 @@ format_item_id_json (const void *ctx, > printf ("%s", json_quote_str (ctx_quote, item_id)); > > talloc_free (ctx_quote); > - > + Whee, whitespace-cleanup ! > } > [ ... ] Tomi _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch