X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fmain.cpp;h=1da83086e82b4d7107fc4d36e5c97d1cf173b388;hb=7586404633a22e219a7ffd7a0f2624b5bc56e37b;hp=bc3c56f347a05b879c47b4a7a6d71cc31ef18e22;hpb=ac497a37018f3c253d2e50397294f58d33f7f24f;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/main.cpp b/src/bin/lttng-relayd/main.cpp index bc3c56f34..1da83086e 100644 --- a/src/bin/lttng-relayd/main.cpp +++ b/src/bin/lttng-relayd/main.cpp @@ -3115,7 +3115,7 @@ static int relay_trace_chunk_exists(const struct lttcomm_relayd_hdr *recv_hdr, bool chunk_exists; if (!session || !conn->version_check_done) { - ERR("Trying to check for the existance of a trace chunk before version check"); + ERR("Trying to check for the presence of a trace chunk before version check"); ret = -1; goto end_no_reply; } @@ -3629,7 +3629,7 @@ static enum relay_connection_status relay_process_data_receive_payload( * - the on-stack data buffer */ while (left_to_receive > 0 && !partial_recv) { - size_t recv_size = std::min(left_to_receive, chunk_size); + size_t recv_size = std::min(left_to_receive, chunk_size); struct lttng_buffer_view packet_chunk; ret = conn->sock->ops->recvmsg(conn->sock, data_buffer,