]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - client.c
com_ff(): Depreciate "n-" syntax.
[paraslash.git] / client.c
index c43ebe161cfa322ce3e08c6f8a980f2e6de846da..f72719f27df46b012165a9e8c8bde3586d602a95 100644 (file)
--- a/client.c
+++ b/client.c
@@ -248,15 +248,15 @@ I9E_DUMMY_COMPLETER(tasks);
 static struct i9e_completer completers[];
 
 static void help_completer(struct i9e_completion_info *ci,
-               struct i9e_completion_result *result)
+               struct i9e_completion_result *cr)
 {
        char *opts[] = {LSG_SERVER_CMD_HELP_OPTS, NULL};
 
        if (ci->word[0] == '-') {
-               i9e_complete_option(opts, ci, result);
+               i9e_complete_option(opts, ci, cr);
                return;
        }
-       result->matches = i9e_complete_commands(ci->word, completers);
+       cr->matches = i9e_complete_commands(ci->word, completers);
 }
 
 static void stat_completer(struct i9e_completion_info *ci,
@@ -624,7 +624,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 +670,7 @@ int main(int argc, char *argv[])
                }
        }
        sched_shutdown(&sched);
+       crypt_shutdown();
 out:
        if (ret < 0)
                PARA_ERROR_LOG("%s\n", para_strerror(-ret));