Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jun 15, 2024
1 parent 3d0bce5 commit 3d3acab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tunnels/server/halfduplex/halfduplex_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ static void onMainLineResumed(void *_cstate)
static void onDownloadLinePaused(void *_cstate)
{
halfduplex_server_con_state_t *cstate = _cstate;
//todo (no if) not required
if (cstate->main_line)
{
pauseLineUpSide(cstate->main_line);
Expand All @@ -102,9 +103,10 @@ static void onDownloadLinePaused(void *_cstate)
static void onDownloadLineResumed(void *_cstate)
{
halfduplex_server_con_state_t *cstate = _cstate;
//todo (no if) not required
if (cstate->main_line)
{
resumeLineDownSide(cstate->main_line);
resumeLineUpSide(cstate->main_line);
}
}

Expand Down

0 comments on commit 3d3acab

Please sign in to comment.