Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed May 25, 2024
1 parent 2c85d69 commit 0096bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tunnels/client/protobuf/protobuf_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static void downStream(tunnel_t *self, context_t *c)

while (true)
{
if (bufferStreamLen(bstream) < 2)
if (bufferStreamLen(bstream) < 3)
{
destroyContext(c);
return;
Expand Down
2 changes: 1 addition & 1 deletion tunnels/server/protobuf/protobuf_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static void upStream(tunnel_t *self, context_t *c)

while (true)
{
if (bufferStreamLen(bstream) < 2)
if (bufferStreamLen(bstream) < 3)
{
destroyContext(c);
return;
Expand Down

0 comments on commit 0096bb6

Please sign in to comment.