Commit 3566b020 authored by Omar Kallel's avatar Omar Kallel

use mxmlGetOpaque instead of mxmlGetText

parent aab2e256
Pipeline #1512 passed with stage
in 18 seconds
......@@ -1568,10 +1568,10 @@ int cwmp_handle_rpc_cpe_set_parameter_values(struct session *session, struct rpc
b->parent->type == MXML_ELEMENT &&
!strcmp(b->parent->, "Value")) {
int whitespace;
parameter_value = strdup((char *)mxmlGetText(b, &whitespace));
parameter_value = strdup((char *)mxmlGetOpaque(b));
n = b->parent;
while (b = mxmlWalkNext(b, n, MXML_DESCEND)) {
v = (char *)mxmlGetText(b, &whitespace);
v = (char *)mxmlGetOpaque(b);
if (!whitespace) break;
asprintf(&c, "%s %s", parameter_value, v);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment