From 242b365cde307c2de7088fdc134ec52cfcc9b728 Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Fri, 6 Dec 2024 11:30:52 -0500 Subject: [PATCH] [858] Fix typo in heartbeat code comment. --- server/main_server/src/agent_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main_server/src/agent_main.cpp b/server/main_server/src/agent_main.cpp index 3f401d227b..0e84929f2e 100644 --- a/server/main_server/src/agent_main.cpp +++ b/server/main_server/src/agent_main.cpp @@ -780,7 +780,7 @@ namespace send(net_obj->socket_handle(), &(heartbeat[heartbeat_length - bytes_to_send]), bytes_to_send, 0); // We do not check for 0 because it is not considered an error condition. It only means 0 - // bytes were sent. As longs as we have more bytes to send and no error has occurred, we + // bytes were sent. As long as we have more bytes to send and no error has occurred, we // keep attempting to send bytes. if (bytes_sent == -1) { const int errsav = errno;