--- libaitcli/src/aitcli.c 2014/04/29 01:22:30 1.14 +++ libaitcli/src/aitcli.c 2016/08/18 09:12:00 1.14.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcli.c,v 1.14 2014/04/29 01:22:30 misho Exp $ +* $Id: aitcli.c,v 1.14.2.1 2016/08/18 09:12:00 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -1355,7 +1355,7 @@ cliNetLoop(linebuffer_t * __restrict cli_buffer, const int sock, int timeout) { u_char buf[BUFSIZ]; - int pid, stat, pty, r, s, alen, flg, attrlen = 0, ret = 0; + int pid, stat, pty, s, alen, flg, attrlen = 0, ret = 0; fd_set fds; struct timeval tv = { DEFAULT_SOCK_TIMEOUT, 0 }; struct telnetAttrs *a, Attr[10]; @@ -1400,7 +1400,7 @@ cliNetLoop(linebuffer_t * __restrict cli_buffer, const break; } - r = FD_ISSET(sock, &fds) ? sock : pty; + FD_ISSET(sock, &fds) ? sock : pty; s = FD_ISSET(sock, &fds) ? pty : sock; if (FD_ISSET(sock, &fds)) {