Clean-up: relayd send_command() helper is not const-correct
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 6 Mar 2018 16:33:19 +0000 (11:33 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 6 Mar 2018 16:37:27 +0000 (11:37 -0500)
commit76b9afaa436496319456775d7ba7f20eeac09d5d
treef633f804189c2c00a7dc85732fbcc8fb869a0628
parent86f90fb1729cbaf66f4a4d7970ce12a96dd03a7e
Clean-up: relayd send_command() helper is not const-correct

The payload sent to the relayd as part of a command is not
expected to be modified when it is sent. This commit makes
the data parameter 'const' to enforce this assumption.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/relayd/relayd.c
This page took 0.027392 seconds and 4 git commands to generate.