X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.c;h=2d6ef31f590bca1736d458cc61c4fbe67459641b;hp=c47dafe8afd300183c8d3853f9da7e0198b4c88d;hb=8536a1d8de423ab7d021c1f1364bb12fab8ce575;hpb=3b7cc768deb62e635bd06541418d22b59d35883c diff --git a/client.c b/client.c index c47dafe8..2d6ef31f 100644 --- a/client.c +++ b/client.c @@ -447,7 +447,7 @@ static int client_i9e_line_handler(char *line) client_disconnect(ct); PARA_DEBUG_LOG("line: %s\n", line); ret = make_client_argv(line); - if (ret < 0) + if (ret <= 0) return ret; ret = client_connect(ct, &sched, NULL, NULL); if (ret < 0) @@ -475,7 +475,7 @@ __noreturn static void interactive_session(void) .completers = completers, }; - PARA_NOTICE_LOG("\n%s\n", VERSION_TEXT("client")); + PARA_NOTICE_LOG("\n%s\n", version_text("client")); if (ct->conf.history_file_given) history_file = para_strdup(ct->conf.history_file_arg); else {