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

Diff for /src/usr.bin/telnet/terminal.c between version 1.7 and 1.8

version 1.7, 2014/07/19 23:50:38 version 1.8, 2014/07/20 06:24:19
Line 72 
Line 72 
  * initialize the terminal data structures.   * initialize the terminal data structures.
  */   */
   
     void  void
 init_terminal()  init_terminal()
 {  {
     if (ring_init(&ttyoring, ttyobuf, sizeof ttyobuf) != 1) {          ring_init(&ttyoring, ttyobuf, sizeof ttyobuf);
         exit(1);          ring_init(&ttyiring, ttyibuf, sizeof ttyibuf);
     }          autoflush = TerminalAutoFlush();
     if (ring_init(&ttyiring, ttyibuf, sizeof ttyibuf) != 1) {  
         exit(1);  
     }  
     autoflush = TerminalAutoFlush();  
 }  }
   
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8