From 8e816cd9905be17691b7f09785f21288a64e4258 Mon Sep 17 00:00:00 2001 From: deniskovalchuk Date: Sat, 30 Sep 2023 19:37:54 +0300 Subject: [PATCH] style: formatting --- src/client.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client.cpp b/src/client.cpp index d131f19..ba9881d 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -588,6 +588,7 @@ data_connection_ptr client::create_data_connection(std::string_view command, rep data_connection_ptr client::process_epsv_command(std::string_view command, replies & replies) { std::string epsv_command = make_command("EPSV"); + reply reply = process_command(epsv_command, replies); if (reply.is_negative()) @@ -669,6 +670,7 @@ data_connection_ptr client::process_eprt_command(std::string_view command, repli listen_endpoint = connection->get_listen_endpoint(); std::string eprt_command = make_eprt_command(listen_endpoint); + reply reply = process_command(eprt_command, replies); if (reply.is_negative()) @@ -690,6 +692,7 @@ data_connection_ptr client::process_eprt_command(std::string_view command, repli data_connection_ptr client::process_pasv_command(std::string_view command, replies & replies) { std::string pasv_command = make_command("PASV"); + reply reply = process_command(pasv_command, replies); if (reply.is_negative()) @@ -729,6 +732,7 @@ data_connection_ptr client::process_port_command(std::string_view command, repli listen_endpoint = connection->get_listen_endpoint(); std::string port_command = make_port_command(listen_endpoint); + reply reply = process_command(port_command, replies); if (reply.is_negative())