X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.c;h=5f511708506a464e1a0e06f679eaa856ac015164;hp=0ae015139fc915d5446cbb58b6eacf78d2d9eb2a;hb=5ebecc04182c3b595f8cd11fdf3e50dd6a9d8a11;hpb=2fa3262b24c1e64191d8acfc3c4a96f2ef13c433 diff --git a/client.c b/client.c index 0ae01513..5f511708 100644 --- a/client.c +++ b/client.c @@ -459,11 +459,6 @@ static int client_i9e_line_handler(char *line) return 1; } -static void client_sighandler(int s) -{ - i9e_signal_dispatch(s); -} - static struct i9e_completer completers[] = { SERVER_COMPLETERS AFS_COMPLETERS @@ -494,7 +489,7 @@ __noreturn static void interactive_session(void) } ici.history_file = history_file; - act.sa_handler = client_sighandler; + act.sa_handler = i9e_signal_dispatch; sigemptyset(&act.sa_mask); act.sa_flags = 0; sigaction(SIGINT, &act, NULL);