Mercurial > dropbear
comparison svr-chansession.c @ 315:3eea61bd9993
send success message for successful window change request
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 27 Mar 2006 15:13:48 +0000 |
parents | 1f5ec029dfe8 |
children | d6b8815a9b5e |
comparison
equal
deleted
inserted
replaced
311:36d21680a9d3 | 315:3eea61bd9993 |
---|---|
408 termw = buf_getint(ses.payload); | 408 termw = buf_getint(ses.payload); |
409 termh = buf_getint(ses.payload); | 409 termh = buf_getint(ses.payload); |
410 | 410 |
411 pty_change_window_size(chansess->master, termr, termc, termw, termh); | 411 pty_change_window_size(chansess->master, termr, termc, termw, termh); |
412 | 412 |
413 return DROPBEAR_FAILURE; | 413 return DROPBEAR_SUCCESS; |
414 } | 414 } |
415 | 415 |
416 static void get_termmodes(struct ChanSess *chansess) { | 416 static void get_termmodes(struct ChanSess *chansess) { |
417 | 417 |
418 struct termios termio; | 418 struct termios termio; |