| 38 |
#include <libssh/libssh.h> |
#include <libssh/libssh.h> |
| 39 |
#include <libssh/server.h> |
#include <libssh/server.h> |
| 40 |
#include <netinet/in.h> |
#include <netinet/in.h> |
| 41 |
#include <sys/epoll.h> |
#include <sys/ioctl.h> |
| 42 |
#include <sys/socket.h> |
#include <sys/socket.h> |
|
#include <sys/syscall.h> |
|
| 43 |
#include <sys/types.h> |
#include <sys/types.h> |
| 44 |
#include <sys/wait.h> |
#include <sys/wait.h> |
| 45 |
|
|
| 46 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 47 |
|
#include <sys/epoll.h> |
| 48 |
|
#else |
| 49 |
|
#include <poll.h> |
| 50 |
|
#endif |
| 51 |
|
|
| 52 |
#ifdef HAVE_SYSTEMD_SD_DAEMON_H |
#ifdef HAVE_SYSTEMD_SD_DAEMON_H |
| 53 |
#include <systemd/sd-daemon.h> |
#include <systemd/sd-daemon.h> |
| 54 |
#endif |
#endif |
| 89 |
|
|
| 90 |
static int socket_server[2]; |
static int socket_server[2]; |
| 91 |
static int socket_client; |
static int socket_client; |
| 92 |
|
|
| 93 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 94 |
static int epollfd_server = -1; |
static int epollfd_server = -1; |
| 95 |
|
#endif |
| 96 |
|
|
| 97 |
static ssh_bind sshbind; |
static ssh_bind sshbind; |
| 98 |
|
|
| 99 |
static HASH_DICT *hash_dict_pid_sockaddr = NULL; |
static HASH_DICT *hash_dict_pid_sockaddr = NULL; |
| 327 |
} |
} |
| 328 |
|
|
| 329 |
// Child process |
// Child process |
| 330 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 331 |
if (close(epollfd_server) < 0) |
if (close(epollfd_server) < 0) |
| 332 |
{ |
{ |
| 333 |
log_error("close(epollfd_server) error (%d)\n"); |
log_error("close(epollfd_server) error (%d)\n"); |
| 334 |
} |
} |
| 335 |
|
#endif |
| 336 |
|
|
| 337 |
for (i = 0; i < 2; i++) |
for (i = 0; i < 2; i++) |
| 338 |
{ |
{ |
| 422 |
log_error("Error setting SSH options: %s\n", ssh_get_error(SSH_session)); |
log_error("Error setting SSH options: %s\n", ssh_get_error(SSH_session)); |
| 423 |
goto cleanup; |
goto cleanup; |
| 424 |
} |
} |
| 425 |
|
|
| 426 |
|
ssh_set_blocking(SSH_session, 0); |
| 427 |
} |
} |
| 428 |
|
|
| 429 |
// Redirect Input |
// Redirect Input |
| 448 |
|
|
| 449 |
SYS_child_process_count = 0; |
SYS_child_process_count = 0; |
| 450 |
|
|
| 451 |
|
// BWF compile |
| 452 |
|
if (bwf_compile() < 0) |
| 453 |
|
{ |
| 454 |
|
log_error("bwf_compile() error\n"); |
| 455 |
|
goto cleanup; |
| 456 |
|
} |
| 457 |
|
|
| 458 |
bbs_main(); |
bbs_main(); |
| 459 |
|
|
| 460 |
cleanup: |
cleanup: |
| 491 |
ssh_free(SSH_session); |
ssh_free(SSH_session); |
| 492 |
ssh_finalize(); |
ssh_finalize(); |
| 493 |
|
|
| 494 |
|
// BWF cleanup |
| 495 |
|
bwf_cleanup(); |
| 496 |
|
|
| 497 |
// Close Input and Output for client |
// Close Input and Output for client |
| 498 |
io_cleanup(); |
io_cleanup(); |
| 499 |
close(STDIN_FILENO); |
close(STDIN_FILENO); |
| 513 |
int ret; |
int ret; |
| 514 |
int flags_server[2]; |
int flags_server[2]; |
| 515 |
struct sockaddr_in sin; |
struct sockaddr_in sin; |
| 516 |
|
|
| 517 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 518 |
struct epoll_event ev, events[MAX_EVENTS]; |
struct epoll_event ev, events[MAX_EVENTS]; |
| 519 |
|
#else |
| 520 |
|
struct pollfd pfds[2]; |
| 521 |
|
#endif |
| 522 |
|
|
| 523 |
int nfds; |
int nfds; |
|
siginfo_t siginfo; |
|
| 524 |
int notify_child_exit = 0; |
int notify_child_exit = 0; |
| 525 |
time_t tm_notify_child_exit = time(NULL); |
time_t tm_notify_child_exit = time(NULL); |
|
MENU_SET bbs_menu_new; |
|
|
MENU_SET top10_menu_new; |
|
| 526 |
int i, j; |
int i, j; |
| 527 |
pid_t pid; |
pid_t pid; |
| 528 |
|
int ssh_key_valid = 0; |
| 529 |
int ssh_log_level = SSH_LOG_NOLOG; |
int ssh_log_level = SSH_LOG_NOLOG; |
| 530 |
|
|
| 531 |
#ifdef HAVE_SYSTEMD_SD_DAEMON_H |
#ifdef HAVE_SYSTEMD_SD_DAEMON_H |
| 532 |
int sd_notify_stopping = 0; |
int sd_notify_stopping = 0; |
| 533 |
#endif |
#endif |
| 536 |
|
|
| 537 |
sshbind = ssh_bind_new(); |
sshbind = ssh_bind_new(); |
| 538 |
|
|
| 539 |
|
if (ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_HOSTKEY, SSH_HOST_RSA_KEY_FILE) < 0) |
| 540 |
|
{ |
| 541 |
|
log_error("Error setting SSH RSA key: %s\n", SSH_HOST_RSA_KEY_FILE); |
| 542 |
|
} |
| 543 |
|
else |
| 544 |
|
{ |
| 545 |
|
ssh_key_valid = 1; |
| 546 |
|
} |
| 547 |
|
if (ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_HOSTKEY, SSH_HOST_ED25519_KEY_FILE) < 0) |
| 548 |
|
{ |
| 549 |
|
log_error("Error setting SSH ED25519 key: %s\n", SSH_HOST_ED25519_KEY_FILE); |
| 550 |
|
} |
| 551 |
|
else |
| 552 |
|
{ |
| 553 |
|
ssh_key_valid = 1; |
| 554 |
|
} |
| 555 |
|
|
| 556 |
|
if (!ssh_key_valid) |
| 557 |
|
{ |
| 558 |
|
log_error("Error: no valid SSH host key\n"); |
| 559 |
|
ssh_bind_free(sshbind); |
| 560 |
|
return -1; |
| 561 |
|
} |
| 562 |
|
|
| 563 |
if (ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_BINDADDR, hostaddr) < 0 || |
if (ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_BINDADDR, hostaddr) < 0 || |
| 564 |
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_BINDPORT, &port) < 0 || |
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_BINDPORT, &port) < 0 || |
| 565 |
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_HOSTKEY, SSH_HOST_KEYFILE) < 0 || |
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_HOSTKEY_ALGORITHMS, "ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-ed25519") < 0 || |
|
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_HOSTKEY_ALGORITHMS, "ssh-rsa,rsa-sha2-512,rsa-sha2-256") < 0 || |
|
| 566 |
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_LOG_VERBOSITY, &ssh_log_level) < 0) |
ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_LOG_VERBOSITY, &ssh_log_level) < 0) |
| 567 |
{ |
{ |
| 568 |
log_error("Error setting SSH bind options: %s\n", ssh_get_error(sshbind)); |
log_error("Error setting SSH bind options: %s\n", ssh_get_error(sshbind)); |
| 570 |
return -1; |
return -1; |
| 571 |
} |
} |
| 572 |
|
|
| 573 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 574 |
epollfd_server = epoll_create1(0); |
epollfd_server = epoll_create1(0); |
| 575 |
if (epollfd_server == -1) |
if (epollfd_server == -1) |
| 576 |
{ |
{ |
| 577 |
log_error("epoll_create1() error (%d)\n", errno); |
log_error("epoll_create1() error (%d)\n", errno); |
| 578 |
return -1; |
return -1; |
| 579 |
} |
} |
| 580 |
|
#endif |
| 581 |
|
|
| 582 |
// Server socket |
// Server socket |
| 583 |
for (i = 0; i < 2; i++) |
for (i = 0; i < 2; i++) |
| 600 |
{ |
{ |
| 601 |
log_error("setsockopt SO_REUSEADDR error (%d)\n", errno); |
log_error("setsockopt SO_REUSEADDR error (%d)\n", errno); |
| 602 |
} |
} |
| 603 |
|
#if defined(SO_REUSEPORT) |
| 604 |
if (setsockopt(socket_server[i], SOL_SOCKET, SO_REUSEPORT, &flags_server[i], sizeof(flags_server[i])) < 0) |
if (setsockopt(socket_server[i], SOL_SOCKET, SO_REUSEPORT, &flags_server[i], sizeof(flags_server[i])) < 0) |
| 605 |
{ |
{ |
| 606 |
log_error("setsockopt SO_REUSEPORT error (%d)\n", errno); |
log_error("setsockopt SO_REUSEPORT error (%d)\n", errno); |
| 607 |
} |
} |
| 608 |
|
#endif |
| 609 |
|
|
| 610 |
if (bind(socket_server[i], (struct sockaddr *)&sin, sizeof(sin)) < 0) |
if (bind(socket_server[i], (struct sockaddr *)&sin, sizeof(sin)) < 0) |
| 611 |
{ |
{ |
| 622 |
|
|
| 623 |
log_common("Listening at %s:%u\n", inet_ntoa(sin.sin_addr), ntohs(sin.sin_port)); |
log_common("Listening at %s:%u\n", inet_ntoa(sin.sin_addr), ntohs(sin.sin_port)); |
| 624 |
|
|
| 625 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 626 |
ev.events = EPOLLIN; |
ev.events = EPOLLIN; |
| 627 |
ev.data.fd = socket_server[i]; |
ev.data.fd = socket_server[i]; |
| 628 |
if (epoll_ctl(epollfd_server, EPOLL_CTL_ADD, socket_server[i], &ev) == -1) |
if (epoll_ctl(epollfd_server, EPOLL_CTL_ADD, socket_server[i], &ev) == -1) |
| 634 |
} |
} |
| 635 |
return -1; |
return -1; |
| 636 |
} |
} |
| 637 |
|
#endif |
| 638 |
|
|
| 639 |
flags_server[i] = fcntl(socket_server[i], F_GETFL, 0); |
flags_server[i] = fcntl(socket_server[i], F_GETFL, 0); |
| 640 |
fcntl(socket_server[i], F_SETFL, flags_server[i] | O_NONBLOCK); |
fcntl(socket_server[i], F_SETFL, flags_server[i] | O_NONBLOCK); |
| 641 |
} |
} |
| 642 |
|
|
| 643 |
|
ssh_bind_set_blocking(sshbind, 0); |
| 644 |
|
|
| 645 |
hash_dict_pid_sockaddr = hash_dict_create(MAX_CLIENT_LIMIT); |
hash_dict_pid_sockaddr = hash_dict_create(MAX_CLIENT_LIMIT); |
| 646 |
if (hash_dict_pid_sockaddr == NULL) |
if (hash_dict_pid_sockaddr == NULL) |
| 647 |
{ |
{ |
| 677 |
{ |
{ |
| 678 |
SYS_child_exit = 0; |
SYS_child_exit = 0; |
| 679 |
|
|
| 680 |
siginfo.si_pid = 0; |
pid = waitpid(-1, &ret, WNOHANG); |
| 681 |
ret = waitid(P_ALL, 0, &siginfo, WEXITED | WNOHANG); |
if (pid > 0) |
|
if (ret == 0 && siginfo.si_pid > 0) |
|
| 682 |
{ |
{ |
| 683 |
SYS_child_exit = 1; // Retry waitid |
SYS_child_exit = 1; // Retry waitid |
|
|
|
| 684 |
SYS_child_process_count--; |
SYS_child_process_count--; |
|
log_common("Child process (%d) exited\n", siginfo.si_pid); |
|
| 685 |
|
|
| 686 |
if (siginfo.si_pid != section_list_loader_pid) |
if (WIFEXITED(ret)) |
| 687 |
|
{ |
| 688 |
|
log_common("Child process (%d) exited, status=%d\n", pid, WEXITSTATUS(ret)); |
| 689 |
|
} |
| 690 |
|
else if (WIFSIGNALED(ret)) |
| 691 |
|
{ |
| 692 |
|
log_common("Child process (%d) is killed, status=%d\n", pid, WTERMSIG(ret)); |
| 693 |
|
} |
| 694 |
|
else |
| 695 |
|
{ |
| 696 |
|
log_common("Child process (%d) exited abnormally, status=%d\n", pid, ret); |
| 697 |
|
} |
| 698 |
|
|
| 699 |
|
if (pid != section_list_loader_pid) |
| 700 |
{ |
{ |
| 701 |
j = 0; |
j = 0; |
| 702 |
ret = hash_dict_get(hash_dict_pid_sockaddr, (uint64_t)siginfo.si_pid, (int64_t *)&j); |
ret = hash_dict_get(hash_dict_pid_sockaddr, (uint64_t)pid, (int64_t *)&j); |
| 703 |
if (ret < 0) |
if (ret < 0) |
| 704 |
{ |
{ |
| 705 |
log_error("hash_dict_get(hash_dict_pid_sockaddr, %d) error\n", siginfo.si_pid); |
log_error("hash_dict_get(hash_dict_pid_sockaddr, %d) error\n", pid); |
| 706 |
} |
} |
| 707 |
else |
else |
| 708 |
{ |
{ |
| 712 |
log_error("hash_dict_inc(hash_dict_sockaddr_count, %d, -1) error\n", j); |
log_error("hash_dict_inc(hash_dict_sockaddr_count, %d, -1) error\n", j); |
| 713 |
} |
} |
| 714 |
|
|
| 715 |
ret = hash_dict_del(hash_dict_pid_sockaddr, (uint64_t)siginfo.si_pid); |
ret = hash_dict_del(hash_dict_pid_sockaddr, (uint64_t)pid); |
| 716 |
if (ret < 0) |
if (ret < 0) |
| 717 |
{ |
{ |
| 718 |
log_error("hash_dict_del(hash_dict_pid_sockaddr, %d) error\n", siginfo.si_pid); |
log_error("hash_dict_del(hash_dict_pid_sockaddr, %d) error\n", pid); |
| 719 |
} |
} |
| 720 |
} |
} |
| 721 |
} |
} |
| 722 |
} |
} |
| 723 |
else if (ret == 0) |
else if (pid == 0) |
| 724 |
{ |
{ |
| 725 |
break; |
break; |
| 726 |
} |
} |
| 727 |
else if (ret < 0) |
else if (pid < 0) |
| 728 |
{ |
{ |
| 729 |
log_error("Error in waitid: %d\n", errno); |
log_error("Error in waitpid(): %d\n", errno); |
| 730 |
break; |
break; |
| 731 |
} |
} |
| 732 |
} |
} |
| 740 |
log_common("Notify %d child process to exit\n", SYS_child_process_count); |
log_common("Notify %d child process to exit\n", SYS_child_process_count); |
| 741 |
#endif |
#endif |
| 742 |
|
|
| 743 |
if (kill(-getpid(), SIGTERM) < 0) |
if (kill(0, SIGTERM) < 0) |
| 744 |
{ |
{ |
| 745 |
log_error("Send SIGTERM signal failed (%d)\n", errno); |
log_error("Send SIGTERM signal failed (%d)\n", errno); |
| 746 |
} |
} |
| 754 |
sd_notifyf(0, "STATUS=Kill %d child process", SYS_child_process_count); |
sd_notifyf(0, "STATUS=Kill %d child process", SYS_child_process_count); |
| 755 |
#endif |
#endif |
| 756 |
|
|
| 757 |
if (kill(-getpid(), SIGKILL) < 0) |
if (kill(0, SIGKILL) < 0) |
| 758 |
{ |
{ |
| 759 |
log_error("Send SIGKILL signal failed (%d)\n", errno); |
log_error("Send SIGKILL signal failed (%d)\n", errno); |
| 760 |
} |
} |
| 795 |
log_error("Reload BWF conf failed\n"); |
log_error("Reload BWF conf failed\n"); |
| 796 |
} |
} |
| 797 |
|
|
| 798 |
if (load_menu(&bbs_menu_new, CONF_MENU) < 0) |
if (detach_menu_shm(&bbs_menu) < 0) |
| 799 |
{ |
{ |
| 800 |
unload_menu(&bbs_menu_new); |
log_error("detach_menu_shm(bbs_menu) error\n"); |
|
log_error("Reload bbs menu failed\n"); |
|
| 801 |
} |
} |
| 802 |
else |
if (load_menu(&bbs_menu, CONF_MENU) < 0) |
| 803 |
{ |
{ |
| 804 |
|
log_error("load_menu(bbs_menu) error\n"); |
| 805 |
unload_menu(&bbs_menu); |
unload_menu(&bbs_menu); |
|
memcpy(&bbs_menu, &bbs_menu_new, sizeof(bbs_menu_new)); |
|
|
log_common("Reload bbs menu successfully\n"); |
|
| 806 |
} |
} |
| 807 |
|
|
| 808 |
if (load_menu(&top10_menu_new, CONF_TOP10_MENU) < 0) |
if (detach_menu_shm(&top10_menu) < 0) |
| 809 |
{ |
{ |
| 810 |
unload_menu(&top10_menu_new); |
log_error("detach_menu_shm(top10_menu) error\n"); |
|
log_error("Reload top10 menu failed\n"); |
|
| 811 |
} |
} |
| 812 |
else |
if (load_menu(&top10_menu, CONF_TOP10_MENU) < 0) |
| 813 |
{ |
{ |
| 814 |
|
log_error("load_menu(top10_menu) error\n"); |
| 815 |
unload_menu(&top10_menu); |
unload_menu(&top10_menu); |
|
top10_menu_new.allow_exit = 1; |
|
|
memcpy(&top10_menu, &top10_menu_new, sizeof(top10_menu_new)); |
|
|
log_common("Reload top10 menu successfully\n"); |
|
| 816 |
} |
} |
| 817 |
|
|
| 818 |
for (int i = 0; i < data_files_load_startup_count; i++) |
for (int i = 0; i < data_files_load_startup_count; i++) |
| 822 |
log_error("load_file(%s) error\n", data_files_load_startup[i]); |
log_error("load_file(%s) error\n", data_files_load_startup[i]); |
| 823 |
} |
} |
| 824 |
} |
} |
|
log_common("Reload data files successfully\n"); |
|
| 825 |
|
|
| 826 |
// Load section config and gen_ex |
// Load section config and gen_ex |
| 827 |
if (load_section_config_from_db(1) < 0) |
if (load_section_config_from_db(1) < 0) |
| 828 |
{ |
{ |
| 829 |
log_error("load_section_config_from_db(1) error\n"); |
log_error("load_section_config_from_db(1) error\n"); |
| 830 |
} |
} |
|
else |
|
|
{ |
|
|
log_common("Reload section config and gen_ex successfully\n"); |
|
|
} |
|
| 831 |
|
|
| 832 |
// Notify child processes to reload configuration |
// Notify child processes to reload configuration |
| 833 |
if (kill(-getpid(), SIGUSR1) < 0) |
if (kill(0, SIGUSR1) < 0) |
| 834 |
{ |
{ |
| 835 |
log_error("Send SIGUSR1 signal failed (%d)\n", errno); |
log_error("Send SIGUSR1 signal failed (%d)\n", errno); |
| 836 |
} |
} |
| 840 |
#endif |
#endif |
| 841 |
} |
} |
| 842 |
|
|
| 843 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 844 |
nfds = epoll_wait(epollfd_server, events, MAX_EVENTS, 100); // 0.1 second |
nfds = epoll_wait(epollfd_server, events, MAX_EVENTS, 100); // 0.1 second |
| 845 |
|
ret = nfds; |
| 846 |
if (nfds < 0) |
#else |
| 847 |
|
pfds[0].fd = socket_server[0]; |
| 848 |
|
pfds[0].events = POLLIN; |
| 849 |
|
pfds[1].fd = socket_server[1]; |
| 850 |
|
pfds[1].events = POLLIN; |
| 851 |
|
nfds = 2; |
| 852 |
|
ret = poll(pfds, (nfds_t)nfds, 100); // 0.1 second |
| 853 |
|
#endif |
| 854 |
|
if (ret < 0) |
| 855 |
{ |
{ |
| 856 |
if (errno != EINTR) |
if (errno != EINTR) |
| 857 |
{ |
{ |
| 858 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 859 |
log_error("epoll_wait() error (%d)\n", errno); |
log_error("epoll_wait() error (%d)\n", errno); |
| 860 |
|
#else |
| 861 |
|
log_error("poll() error (%d)\n", errno); |
| 862 |
|
#endif |
| 863 |
break; |
break; |
| 864 |
} |
} |
| 865 |
continue; |
continue; |
| 873 |
|
|
| 874 |
for (int i = 0; i < nfds; i++) |
for (int i = 0; i < nfds; i++) |
| 875 |
{ |
{ |
| 876 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 877 |
if (events[i].data.fd == socket_server[0] || events[i].data.fd == socket_server[1]) |
if (events[i].data.fd == socket_server[0] || events[i].data.fd == socket_server[1]) |
| 878 |
|
#else |
| 879 |
|
if ((pfds[i].fd == socket_server[0] || pfds[i].fd == socket_server[1]) && (pfds[i].revents & POLLIN)) |
| 880 |
|
#endif |
| 881 |
{ |
{ |
| 882 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 883 |
SSH_v2 = (events[i].data.fd == socket_server[1] ? 1 : 0); |
SSH_v2 = (events[i].data.fd == socket_server[1] ? 1 : 0); |
| 884 |
|
#else |
| 885 |
|
SSH_v2 = (pfds[i].fd == socket_server[1] ? 1 : 0); |
| 886 |
|
#endif |
| 887 |
|
|
| 888 |
while (!SYS_server_exit) // Accept all incoming connections until error |
while (!SYS_server_exit) // Accept all incoming connections until error |
| 889 |
{ |
{ |
| 890 |
addrlen = sizeof(sin); |
addrlen = sizeof(sin); |
| 891 |
socket_client = accept(socket_server[SSH_v2], (struct sockaddr *)&sin, &addrlen); |
socket_client = accept(socket_server[SSH_v2], (struct sockaddr *)&sin, (socklen_t *)&addrlen); |
| 892 |
if (socket_client < 0) |
if (socket_client < 0) |
| 893 |
{ |
{ |
| 894 |
if (errno == EAGAIN || errno == EWOULDBLOCK) |
if (errno == EAGAIN || errno == EWOULDBLOCK) |
| 962 |
} |
} |
| 963 |
} |
} |
| 964 |
|
|
| 965 |
|
#ifdef HAVE_SYS_EPOLL_H |
| 966 |
if (close(epollfd_server) < 0) |
if (close(epollfd_server) < 0) |
| 967 |
{ |
{ |
| 968 |
log_error("close(epollfd_server) error (%d)\n"); |
log_error("close(epollfd_server) error (%d)\n"); |
| 969 |
} |
} |
| 970 |
|
#endif |
| 971 |
|
|
| 972 |
for (i = 0; i < 2; i++) |
for (i = 0; i < 2; i++) |
| 973 |
{ |
{ |