goto error;
}
+ if (msg.size == 0) {
+ goto skip_payload;
+ }
+
/* Reserve space for the payload. */
ret = lttng_dynamic_buffer_set_size(&channel->reception_payload.buffer,
channel->reception_payload.buffer.size + msg.size);
goto error;
}
+skip_payload:
/* Receive message fds. */
if (msg.fds != 0) {
ret = lttcomm_recv_payload_fds_unix_sock(channel->socket,