- Timestamp:
- 03/05/08 20:47:35 (5 years ago)
- Location:
- lang/c/partty/trunk
- Files:
-
- 2 modified
-
emtelnet.cc (modified) (3 diffs)
-
multiplexer.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/c/partty/trunk/emtelnet.cc
r7485 r7507 327 327 // I can't use the option 328 328 // reply wont 329 if( m_ my_option_handler[(size_t)c] ) {330 m_ my_option_handler[(size_t)c](c, false, *this);329 if( m_partner_option_handler[(size_t)c] ) { 330 m_partner_option_handler[(size_t)c](c, false, *this); 331 331 } 332 332 owrite3(IAC, WONT, c); … … 368 368 // will is sent and receive dont 369 369 // I can't use the option 370 m_do_waiting.reset(c); 370 371 if( m_my_option_handler[(size_t)c] ) { 371 372 m_my_option_handler[(size_t)c](c, false, *this); … … 386 387 { 387 388 //fprintf(stderr, "sb %u\n", c); 388 m_sb_buffer[0] = c;389 m_sb_length = 1;390 389 sb_reset(c); 391 390 m_istate = &emtelnet::istate_SB_MSG; -
lang/c/partty/trunk/multiplexer.cc
r7485 r7507 69 69 if( host.ws_initialized() ) { 70 70 char sbbuf[4]; 71 *((short*)sbbuf) = htons(host.get_ rows());72 *((short*)(sbbuf+2)) = htons(host.get_ cols());71 *((short*)sbbuf) = htons(host.get_cols()); 72 *((short*)(sbbuf+2)) = htons(host.get_rows()); 73 73 self.send_ws(sbbuf, sizeof(sbbuf)); 74 74 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)