From f2ad7fd4ea8a68d8c6ef8c25bdc486086ed758fa Mon Sep 17 00:00:00 2001 From: "Coren[m]" Date: Fri, 13 Sep 2013 09:20:03 +0200 Subject: [PATCH] Rename load_old_key_or_save_new_one() to load_data_or_init(). --- testing/nTox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/nTox.c b/testing/nTox.c index 9830e95f..35659726 100644 --- a/testing/nTox.c +++ b/testing/nTox.c @@ -557,7 +557,7 @@ static int save_data(Tox *m) } } -static int load_old_key_or_save_new_one(Tox *m, char *path) +static int load_data_or_init(Tox *m, char *path) { data_file_name = path; if (load_data(m)) @@ -631,7 +631,7 @@ int main(int argc, char *argv[]) exit(0); } - load_old_key_or_save_new_one(m, filename); + load_data_or_init(m, filename); tox_callback_friendrequest(m, print_request, NULL); tox_callback_friendmessage(m, print_message, NULL);