[BACK]Return to utilities.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / telnet

Diff for /src/usr.bin/telnet/utilities.c between version 1.17 and 1.18

version 1.17, 2014/07/20 08:56:47 version 1.18, 2014/07/20 09:20:48
Line 667 
Line 667 
     pfd[0].events = POLLOUT;      pfd[0].events = POLLOUT;
   
     if (TTYBYTES() == 0) {      if (TTYBYTES() == 0) {
         (void) poll(pfd, 1, -1); /* wait for TTLOWAT */          (void) poll(pfd, 1, INFTIM); /* wait for TTLOWAT */
     } else {      } else {
         while (TTYBYTES()) {          while (TTYBYTES()) {
             (void) ttyflush(0);              (void) ttyflush(0);
             (void) poll(pfd, 1, -1); /* wait for TTLOWAT */              (void) poll(pfd, 1, INFTIM); /* wait for TTLOWAT */
         }          }
     }      }
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18