diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/serverloop.c b/serverloop.c index c2b2d0222..be9edfafc 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -389,7 +389,7 @@ drain_output() | |||
389 | void | 389 | void |
390 | process_buffered_input_packets() | 390 | process_buffered_input_packets() |
391 | { | 391 | { |
392 | dispatch_run(DISPATCH_NONBLOCK, NULL); | 392 | dispatch_run(DISPATCH_NONBLOCK, NULL, NULL); |
393 | } | 393 | } |
394 | 394 | ||
395 | /* | 395 | /* |
@@ -689,7 +689,7 @@ server_loop2(void) | |||
689 | } | 689 | } |
690 | 690 | ||
691 | void | 691 | void |
692 | server_input_stdin_data(int type, int plen) | 692 | server_input_stdin_data(int type, int plen, void *ctxt) |
693 | { | 693 | { |
694 | char *data; | 694 | char *data; |
695 | unsigned int data_len; | 695 | unsigned int data_len; |
@@ -706,7 +706,7 @@ server_input_stdin_data(int type, int plen) | |||
706 | } | 706 | } |
707 | 707 | ||
708 | void | 708 | void |
709 | server_input_eof(int type, int plen) | 709 | server_input_eof(int type, int plen, void *ctxt) |
710 | { | 710 | { |
711 | /* | 711 | /* |
712 | * Eof from the client. The stdin descriptor to the | 712 | * Eof from the client. The stdin descriptor to the |
@@ -719,7 +719,7 @@ server_input_eof(int type, int plen) | |||
719 | } | 719 | } |
720 | 720 | ||
721 | void | 721 | void |
722 | server_input_window_size(int type, int plen) | 722 | server_input_window_size(int type, int plen, void *ctxt) |
723 | { | 723 | { |
724 | int row = packet_get_int(); | 724 | int row = packet_get_int(); |
725 | int col = packet_get_int(); | 725 | int col = packet_get_int(); |
@@ -765,7 +765,7 @@ input_direct_tcpip(void) | |||
765 | } | 765 | } |
766 | 766 | ||
767 | void | 767 | void |
768 | server_input_channel_open(int type, int plen) | 768 | server_input_channel_open(int type, int plen, void *ctxt) |
769 | { | 769 | { |
770 | Channel *c = NULL; | 770 | Channel *c = NULL; |
771 | char *ctype; | 771 | char *ctype; |
@@ -780,7 +780,7 @@ server_input_channel_open(int type, int plen) | |||
780 | rwindow = packet_get_int(); | 780 | rwindow = packet_get_int(); |
781 | rmaxpack = packet_get_int(); | 781 | rmaxpack = packet_get_int(); |
782 | 782 | ||
783 | debug("channel_input_open: ctype %s rchan %d win %d max %d", | 783 | debug("server_input_channel_open: ctype %s rchan %d win %d max %d", |
784 | ctype, rchan, rwindow, rmaxpack); | 784 | ctype, rchan, rwindow, rmaxpack); |
785 | 785 | ||
786 | if (strcmp(ctype, "session") == 0) { | 786 | if (strcmp(ctype, "session") == 0) { |