mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
run git-clang-format
This commit is contained in:
parent
81dc94c406
commit
cae37e37ca
1 changed files with 3 additions and 4 deletions
|
|
@ -116,7 +116,7 @@ static void read_settings(void)
|
||||||
|
|
||||||
quit_on_hup = settings_get_bool("quit_on_hup");
|
quit_on_hup = settings_get_bool("quit_on_hup");
|
||||||
|
|
||||||
act.sa_handler = quit_on_hup ? sig_quit_on_hup : sig_reload_config;
|
act.sa_handler = quit_on_hup ? sig_quit_on_hup : sig_reload_config;
|
||||||
sigaction(SIGHUP, &act, NULL);
|
sigaction(SIGHUP, &act, NULL);
|
||||||
|
|
||||||
for (n = 0; n < sizeof(signals)/sizeof(signals[0]); n++) {
|
for (n = 0; n < sizeof(signals)/sizeof(signals[0]); n++) {
|
||||||
|
|
@ -276,7 +276,6 @@ void core_init(void)
|
||||||
settings_add_bool("misc", "override_coredump_limit", FALSE);
|
settings_add_bool("misc", "override_coredump_limit", FALSE);
|
||||||
settings_add_bool("misc", "quit_on_hup", FALSE);
|
settings_add_bool("misc", "quit_on_hup", FALSE);
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_RESOURCE_H
|
#ifdef HAVE_SYS_RESOURCE_H
|
||||||
getrlimit(RLIMIT_CORE, &orig_core_rlimit);
|
getrlimit(RLIMIT_CORE, &orig_core_rlimit);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue