Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Dec 28, 2023
1 parent da3be14 commit d01b79c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions source/secure_tunneling.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,10 +1088,7 @@ static void s_secure_tunnel_websocket_fail_setup(
AWS_FATAL_ASSERT(aws_event_loop_thread_is_callers_thread(secure_tunnel->loop));

if (secure_tunnel->config->on_connection_complete) {
secure_tunnel->config->on_connection_complete(
NULL,
error_code,
secure_tunnel->config->user_data);
secure_tunnel->config->on_connection_complete(NULL, error_code, secure_tunnel->config->user_data);
}
s_on_websocket_shutdown(websocket, error_code, secure_tunnel);
}
Expand All @@ -1114,9 +1111,7 @@ void s_secure_tunnel_websocket_shutdown_task_fn(struct aws_task *task, void *arg
}

s_secure_tunnel_websocket_fail_setup(
shutdown_task->websocket,
shutdown_task->error_code,
shutdown_task->secure_tunnel);
shutdown_task->websocket, shutdown_task->error_code, shutdown_task->secure_tunnel);

done:
aws_mem_release(shutdown_task->allocator, shutdown_task);
Expand Down

0 comments on commit d01b79c

Please sign in to comment.