From: Bastien Dejean Date: Sat, 22 May 2021 09:36:33 +0000 (+0200) Subject: Fix the style consistency X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6e9bbdcc3ffa0a37b8fd059af4bcf6649e625c84;p=bspwm.git Fix the style consistency --- diff --git a/src/subscribe.c b/src/subscribe.c index 90a4bd5..e91ffec 100644 --- a/src/subscribe.c +++ b/src/subscribe.c @@ -174,7 +174,7 @@ void prune_dead_subscribers(void) // stream is not writable anymore (i.e. it has been closed because the // process associated to this subscriber no longer exists) then write() // will return -1. - if (write(fileno(sb->stream), 0, 0) == -1) { + if (write(fileno(sb->stream), NULL, 0) == -1) { remove_subscriber(sb); } sb = next;