X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=client.c;h=d98c6327c9163d7018f0d94c1c612680205244d7;hb=869f0e06ec4e15abc9230c1b2d7615da5250802e;hp=0ae015139fc915d5446cbb58b6eacf78d2d9eb2a;hpb=e5fbc490c2c16ecfa7bce58a18e11a0f7d382b91;p=paraslash.git diff --git a/client.c b/client.c index 0ae01513..d98c6327 100644 --- a/client.c +++ b/client.c @@ -307,7 +307,7 @@ static void setatt_completer(struct i9e_completion_info *ci, free(orig); } sl[2 * num_atts] = NULL; - ret = i9e_extract_completions(ci->word, sl, &cr->matches); + i9e_extract_completions(ci->word, sl, &cr->matches); out: free(buf); free_argv(sl); @@ -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);