Commit b741be99 authored by Niels Möller's avatar Niels Möller
Browse files

* src/client.c (make_client_session): Removed references to

max_window.

Rev: src/client.c:1.90
Rev: src/client.h:1.29
parent 05a49c76
......@@ -430,11 +430,12 @@ struct command client_io =
{ STATIC_HEADER, do_client_io };
struct ssh_channel *make_client_session(struct lsh_fd *in,
struct lsh_fd *out,
struct lsh_fd *err,
UINT32 max_window,
int *exit_status)
struct ssh_channel *
make_client_session(struct lsh_fd *in,
struct lsh_fd *out,
struct lsh_fd *err,
UINT32 initial_window,
int *exit_status)
{
NEW(client_session, self);
......@@ -444,8 +445,7 @@ struct ssh_channel *make_client_session(struct lsh_fd *in,
* dies, no matter when or how. */
self->super.close = do_client_session_close;
self->super.max_window = max_window;
self->super.rec_window_size = max_window;
self->super.rec_window_size = initial_window;
/* FIXME: Make maximum packet size configurable */
self->super.rec_max_packet = SSH_MAX_PACKET;
......
......@@ -65,7 +65,7 @@ extern struct command client_io;
struct ssh_channel *make_client_session(struct lsh_fd *in,
struct lsh_fd *out,
struct lsh_fd *err,
UINT32 max_window,
UINT32 initial_window,
int *exit_status);
struct command *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment