summaryrefslogtreecommitdiff
path: root/testing/nTox.c
diff options
context:
space:
mode:
authorcharmlesscoin <charmlesscoin@gmail.com>2013-08-03 21:59:17 -0400
committercharmlesscoin <charmlesscoin@gmail.com>2013-08-03 21:59:17 -0400
commitb36bca295c296f886872df98de388c8c5c5ad177 (patch)
tree5f80712efd513d1329239350fbce64d0bc2de419 /testing/nTox.c
parent175a434de3cd69f7bfa97fac9ec6f080663a6f9d (diff)
fixed bug that would cause this to always exit
Diffstat (limited to 'testing/nTox.c')
-rw-r--r--testing/nTox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index 630c5f8e..4be69ac4 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -396,6 +396,8 @@ void load_key(char *path)
396 } 396 }
397 } 397 }
398 398
399 return;
400
399FILE_ERROR: 401FILE_ERROR:
400 if(fclose(data_file) < 0) 402 if(fclose(data_file) < 0)
401 perror("[!] fclose failed"); 403 perror("[!] fclose failed");