Clean-up: relayd send_command() helper is not const-correct
[lttng-tools.git] / src / common / relayd / relayd.c
index c46290d1a2978f205dbf7e07d903a0d428f405fd..c3ad597ed8eb50d69dd9a57e65399a996ff423b3 100644 (file)
@@ -35,7 +35,7 @@
  * Send command. Fill up the header and append the data.
  */
 static int send_command(struct lttcomm_relayd_sock *rsock,
-               enum lttcomm_relayd_command cmd, void *data, size_t size,
+               enum lttcomm_relayd_command cmd, const void *data, size_t size,
                int flags)
 {
        int ret;
This page took 0.024593 seconds and 5 git commands to generate.