Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
3d6c2a70
Commit
3d6c2a70
authored
Mar 14, 2002
by
Niels Möller
Browse files
(do_send_adjust): Call FLOW_CONTROL_REPORT
only if i > 0. Rev: src/gateway_channel.c:1.11
parent
ffd5fede
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gateway_channel.c
View file @
3d6c2a70
...
...
@@ -83,7 +83,8 @@ do_send_adjust(struct ssh_channel *s,
UINT32
i
)
{
CAST
(
gateway_channel
,
self
,
s
);
FLOW_CONTROL_REPORT
(
&
self
->
chain
->
super
.
super
,
i
);
if
(
i
)
FLOW_CONTROL_REPORT
(
&
self
->
chain
->
super
.
super
,
i
);
}
static
void
...
...
@@ -109,7 +110,8 @@ gateway_init_io(struct gateway_channel *channel)
channel
->
super
.
close
=
do_close
;
}
/* NOTE: We don't initialize the rec_window_size and rec_max_packet fields here.
/* NOTE: We don't initialize the rec_window_size and rec_max_packet
* fields here.
*
* The origin's rec_window_size and rec_max_packet are filled in
* later, by do_gateway_channel_open_continuation. The target's
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment