*: hopefully all setup_common_bufsiz() are in place
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -239,6 +239,8 @@ int nc_main(int argc, char **argv)
|
||||
FD_SET(cfd, &readfds);
|
||||
FD_SET(STDIN_FILENO, &readfds);
|
||||
|
||||
#define iobuf bb_common_bufsiz1
|
||||
setup_common_bufsiz();
|
||||
for (;;) {
|
||||
int fd;
|
||||
int ofd;
|
||||
@@ -249,7 +251,6 @@ int nc_main(int argc, char **argv)
|
||||
if (select(cfd + 1, &testfds, NULL, NULL, NULL) < 0)
|
||||
bb_perror_msg_and_die("select");
|
||||
|
||||
#define iobuf bb_common_bufsiz1
|
||||
fd = STDIN_FILENO;
|
||||
while (1) {
|
||||
if (FD_ISSET(fd, &testfds)) {
|
||||
|
Reference in New Issue
Block a user