diff --git a/files.c b/files.c index 45cb369..5e61761 100644 --- a/files.c +++ b/files.c @@ -422,7 +422,7 @@ void download(struct user_record *user) { sqlite3_finalize(res); sqlite3_close(db); } - + if (sshBBS) { tcsetattr(STDIN_FILENO, TCSANOW, &oldit); tcsetattr(STDOUT_FILENO, TCSANOW, &oldot); @@ -746,6 +746,7 @@ int file_menu(struct user_record *user) { break; case '}': { + for (i=user->cur_file_dir;isec_level = atoi(value); } } else {