summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d961e8f)
raw | patch | inline | side by side (parent: d961e8f)
author | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 14:47:52 +0000 (15:47 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Fri, 17 Mar 2017 14:47:52 +0000 (15:47 +0100) |
src/main.c | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index 7e5a6cb3000c35605b62eb4728da2898bfe36889..8bc4d597a7b83175e8d40a8fb404b8f06ed36f44 100644 (file)
--- a/src/main.c
+++ b/src/main.c
static void
catch_sigwinch(gcc_unused int sig)
{
- char irrelevant = 'a';
- if (1 != write(sigwinch_pipes[1], &irrelevant, 1))
+ if (1 != write(sigwinch_pipes[1], "", 1))
exit(EXIT_FAILURE);
}
#endif /* WIN32 */