Timur Davydov has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/42420?usp=email ) Change subject: transceiver: make control command parsing arguments const ...................................................................... transceiver: make control command parsing arguments const Change-Id: I2f3aa5363c337791451a388f394d7351d3183908 --- M Transceiver52M/Transceiver.cpp 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/20/42420/1 diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index f5ddd9b..fa66625 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -828,8 +828,8 @@ * @param params pointer to arguments, or NULL * @return true if command matches, otherwise false */ -static bool match_cmd(char *buf, - const char *cmd, char **params) +static bool match_cmd(const char *buf, + const char *cmd, const char **params) { size_t cmd_len = strlen(cmd); @@ -900,7 +900,7 @@ ctrl_msg cmd_to_send; char *buffer = cmd_received.data; char *response = cmd_to_send.data; - char *command, *params; + const char *command, *params; int msgLen; ctrl_sock_state& s = mCtrlSockets[chan]; -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/42420?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-Change-Id: I2f3aa5363c337791451a388f394d7351d3183908 Gerrit-Change-Number: 42420 Gerrit-PatchSet: 1 Gerrit-Owner: Timur Davydov <dtv.comp@gmail.com>