hdikme commented on this pull request.
- 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.