#include <common/uri.h>
#include <common/utils.h>
#include <common/align.h>
-#include <common/config/session-config.h>
+#include <common/ini-config/ini-config.h>
#include <common/dynamic-buffer.h>
#include <common/buffer-view.h>
#include <common/string-utils/format.h>
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;
}
* - 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<uint64_t>(left_to_receive, chunk_size);
struct lttng_buffer_view packet_chunk;
ret = conn->sock->ops->recvmsg(conn->sock, data_buffer,