X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=client.c;h=24f9c61c1c505e304b590b4ad7d7bce7041e13b0;hb=e854df2fe2cfb3ae90a439828fc13cc0fc470aa9;hp=f72719f27df46b012165a9e8c8bde3586d602a95;hpb=f787a626b8885247948e3c47ae886b1e3a7c2a3a;p=paraslash.git diff --git a/client.c b/client.c index f72719f2..24f9c61c 100644 --- a/client.c +++ b/client.c @@ -100,7 +100,7 @@ static int create_merged_lpr(const char *line) /* * The original lpr for the interactive session has no non-option * arguments. We create a fresh lpr from the words in "line" and merge - * it with the orignal lpr. + * it with the original lpr. */ ret = lls(lls_parse(argc, argv, cmd, &argv_lpr, &errctx)); free_argv(argv); @@ -123,7 +123,7 @@ fail: static int execute_client_command(const char *cmd, char **result) { int ret; - struct sched command_sched = {.default_timeout = {.tv_sec = 1}}; + struct sched command_sched = {.default_timeout = 1000}; struct exec_task exec_task = { .result_buf = para_strdup(""), .result_size = 1, @@ -243,7 +243,6 @@ I9E_DUMMY_COMPLETER(term); I9E_DUMMY_COMPLETER(stop); I9E_DUMMY_COMPLETER(addatt); I9E_DUMMY_COMPLETER(init); -I9E_DUMMY_COMPLETER(tasks); static struct i9e_completer completers[]; @@ -625,7 +624,7 @@ int main(int argc, char *argv[]) int ret; crypt_init(); - sched.default_timeout.tv_sec = 1; + sched.default_timeout = 1000; ret = client_parse_config(argc, argv, &ct, &client_loglevel); if (ret < 0)