diff options
author | uncrustify <david@tethera.net> | 2019-06-13 07:31:01 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2019-06-14 07:41:27 -0300 |
commit | 33382c2b5ba2537952a60ea378feff36961e4713 (patch) | |
tree | 983288c84237c204d9fbfa81fb387397fd46e942 /hooks.c | |
parent | be8f0ba92a302798b21cf02ef73c4ad783b66cba (diff) |
cli: run uncrustify
This is the result of running
$ uncrustify --replace --config devel/uncrustify.cfg *.c *.h
in the top level source directory
Diffstat (limited to 'hooks.c')
-rw-r--r-- | hooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ notmuch_run_hook (const char *db_path, const char *hook) /* Flush any buffered output before forking. */ fflush (stdout); - pid = fork(); + pid = fork (); if (pid == -1) { fprintf (stderr, "Error: %s hook fork failed: %s\n", hook, strerror (errno)); @@ -78,7 +78,7 @@ notmuch_run_hook (const char *db_path, const char *hook) goto DONE; } - if (!WIFEXITED (status) || WEXITSTATUS (status)) { + if (! WIFEXITED (status) || WEXITSTATUS (status)) { if (WIFEXITED (status)) { fprintf (stderr, "Error: %s hook failed with status %d\n", hook, WEXITSTATUS (status)); |