From 54fee7c1d03b78ca9ff2b4308eaeeb67c0b26a31 Mon Sep 17 00:00:00 2001 From: JaykobJ <43149056+JaykobJ@users.noreply.github.com> Date: Fri, 1 Dec 2023 08:50:22 +0200 Subject: [PATCH] Update setup/xapp-sm-connector/src/agent_connector.cc Co-authored-by: Andrea Lacava --- setup/xapp-sm-connector/src/agent_connector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/xapp-sm-connector/src/agent_connector.cc b/setup/xapp-sm-connector/src/agent_connector.cc index 8512927..0bc9f58 100644 --- a/setup/xapp-sm-connector/src/agent_connector.cc +++ b/setup/xapp-sm-connector/src/agent_connector.cc @@ -126,7 +126,7 @@ int send_socket(char* buf, size_t payload_size, std::string dest_ip) { // const size_t max_size = 512; // char buf[max_size] = "Hello, Server!"; // store the data in a buffer - int sent_size = send(control_sckfd ,buf, payload_size, 0); + int sent_size = send(control_sckfd, buf, payload_size, 0); if(sent_size < 0) { // the send returns a size of -1 in case of errors std::cout << "ERROR: SEND to agent " << dest_ip << std::endl;