diff options
author | Aaron Marcher <me@drkhsh.at> | 2017-09-16 14:11:49 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2017-09-16 14:11:49 +0200 |
commit | 7ece0787599dbcc76c6ae04097e0e06783b76c00 (patch) | |
tree | 1b863cc694b167334edd3d222c46f48e50154657 /slstatus.c | |
parent | 6d56cbef4d65fc90b98d164ee174a2b3debe0635 (diff) |
Add blank line after setlocale
setlocale() has to be separated from the signal handling.
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -843,6 +843,7 @@ main(int argc, char *argv[]) } setlocale(LC_ALL, ""); + memset(&act, 0, sizeof(act)); act.sa_handler = terminate; sigaction(SIGINT, &act, NULL); |