It is comparing prefix only which means the original code was exactly
correct.
Change-Id: I86eaa68f14dae0c96372658204c3e946427254e9
idx = vitem->prefix;
- if (!strncmp(vconf_keynode_get_name(key), vconf_prefix[idx], strlen(vconf_prefix[idx]) + 1)) {
+ if (!strncmp(vconf_keynode_get_name(key), vconf_prefix[idx], strlen(vconf_prefix[idx]))) {
snprintf(buf, sizeof(buf), "%c%s", vitem->opcode, vconf_keynode_get_name(key));
fprintf(stdout, "%s%c", buf, 0); /* Send opcode + key + '\0'. */