提交 77c94ed8 编写于 作者: F Fan Qian 提交者: magao.xwj

BugID:16983104: Fix the KV typo error (no impact to the module function)

Change-Id: Ia423a9805b0ebb9e42e4450546920a10d5531dd2
上级 11e6d383
......@@ -575,7 +575,7 @@ static int kv_item_update(kv_item_t *item, const char *key, const void *val,
int res;
if (item->hdr.val_len == len) {
if (!memcpy(item->store + item->hdr.key_len, val, len)) {
if (!memcmp(item->store + item->hdr.key_len, val, len)) {
return RES_OK;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册