X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fchannel.cpp;h=080dbb4439659a33c10dc052e81f21b56251b4c9;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=e7b044ac05aafad89f3ff9af02e611619b8b8b3c;hpb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/channel.cpp b/src/lib/lttng-ctl/channel.cpp index e7b044ac0..080dbb443 100644 --- a/src/lib/lttng-ctl/channel.cpp +++ b/src/lib/lttng-ctl/channel.cpp @@ -5,20 +5,20 @@ * */ -#include -#include -#include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include "lttng-ctl-helper.h" -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "lttng-ctl-helper.hpp" +#include static int handshake(struct lttng_notification_channel *channel); @@ -575,6 +575,7 @@ int handshake(struct lttng_notification_channel *channel) struct lttng_notification_channel_message msg_header = { .type = LTTNG_NOTIFICATION_CHANNEL_MESSAGE_TYPE_HANDSHAKE, .size = sizeof(handshake), + .fds = 0, }; char send_buffer[sizeof(msg_header) + sizeof(handshake)]; @@ -623,6 +624,8 @@ enum lttng_notification_channel_status send_condition_command( struct lttng_payload payload; struct lttng_notification_channel_message cmd_header = { .type = (int8_t) type, + .size =0, + .fds = 0, }; lttng_payload_init(&payload);