*: hopefully all setup_common_bufsiz() are in place
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -286,9 +286,10 @@ int chat_main(int argc UNUSED_PARAM, char **argv)
|
||||
&& poll(&pfd, 1, timeout) > 0
|
||||
&& (pfd.revents & POLLIN)
|
||||
) {
|
||||
#define buf bb_common_bufsiz1
|
||||
llist_t *l;
|
||||
ssize_t delta;
|
||||
#define buf bb_common_bufsiz1
|
||||
setup_common_bufsiz();
|
||||
|
||||
// read next char from device
|
||||
if (safe_read(STDIN_FILENO, buf+buf_len, 1) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user