]> git.lizzy.rs Git - bspwm.git/blobdiff - src/subscribe.c
Fix the style consistency
[bspwm.git] / src / subscribe.c
index 90a4bd5d6b0e18135881a602ab96163cca411ffc..e91ffec995a11ff0118afe7b9a2d16a21a44f6e1 100644 (file)
@@ -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;