@hdikme commented on this pull request.
In src/modules/cfg_rpc/cfg_rpc.c:
> + str group, var; + void *val; + unsigned int val_type; + int ret, n; + unsigned int *group_id; + + n = rpc->scan(c, "SS", &group, &var); + /* 2: both group and variable name are present + * -1: only group is present, print all variables in the group */ + if(n<2) { + if (n == -1) { + var.s = NULL; + var.len = 0; + } + else return; + }
Thank you for the review, sure i'll send a new patch with the changes.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.