X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=client.c;h=8caf44839919fb33c1368715c528f507ebc7a5c9;hb=2bad70d84e763b4d866d7b97dbc1cdc8e030bd45;hp=bc5132b6ffe620558f78f390eba70ebad6faae59;hpb=ebbea4043aa7c7f200e4f56c3bfa42f5c31f2e03;p=paraslash.git diff --git a/client.c b/client.c index bc5132b6..8caf4483 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); @@ -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[]; @@ -624,7 +623,7 @@ int main(int argc, char *argv[]) { int ret; - init_random_seed_or_die(); + crypt_init(); sched.default_timeout.tv_sec = 1; ret = client_parse_config(argc, argv, &ct, &client_loglevel); @@ -670,6 +669,7 @@ int main(int argc, char *argv[]) } } sched_shutdown(&sched); + crypt_shutdown(); out: if (ret < 0) PARA_ERROR_LOG("%s\n", para_strerror(-ret));