X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Fhex-xcode.c;h=33046e9a51785378d5f5003469941f1f428a2755;hb=5f2832ae2171714dfef6d0d3302f473526480157;hp=bc2df713b2a3bec99ff49ad03f86e0c437ac7e23;hpb=4a6721970a42a9f86149fb5d395d1001fed2d305;p=notmuch diff --git a/test/hex-xcode.c b/test/hex-xcode.c index bc2df713..33046e9a 100644 --- a/test/hex-xcode.c +++ b/test/hex-xcode.c @@ -16,7 +16,7 @@ enum direction { DECODE }; -static int inplace = FALSE; +static bool inplace = false; static int xcode (void *ctx, enum direction dir, char *in, char **buf_p, size_t *size_p) @@ -45,7 +45,7 @@ main (int argc, char **argv) { int dir = DECODE; - int omit_newline = FALSE; + bool omit_newline = false; notmuch_opt_desc_t options[] = { { .opt_keyword = &dir, .name = "direction", .keywords = @@ -71,7 +71,7 @@ main (int argc, char **argv) char *buffer = NULL; size_t buf_size = 0; - notmuch_bool_t read_stdin = TRUE; + bool read_stdin = true; for (; opt_index < argc; opt_index++) { @@ -82,7 +82,7 @@ main (int argc, char **argv) if (! omit_newline) putchar ('\n'); - read_stdin = FALSE; + read_stdin = false; } if (! read_stdin)