summaryrefslogtreecommitdiff
path: root/proto_bin.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_bin.c')
-rw-r--r--proto_bin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_bin.c b/proto_bin.c
index ef82de0..875afa6 100644
--- a/proto_bin.c
+++ b/proto_bin.c
@@ -328,7 +328,7 @@ static void complete_incr_bin(conn *c, char *extbuf) {
memcpy(ITEM_data(it) + res, "\r\n", 2);
c->thread->cur_sfd = c->sfd; // for store_item logging.
- if (store_item(it, NREAD_ADD, c->thread, &cas, CAS_NO_STALE)) {
+ if (store_item(it, NREAD_ADD, c->thread, NULL, &cas, CAS_NO_STALE)) {
c->cas = cas;
write_bin_response(c, &rsp->message.body, 0, 0, sizeof(rsp->message.body.value));
} else {
@@ -386,7 +386,7 @@ static void complete_update_bin(conn *c) {
uint64_t cas = 0;
c->thread->cur_sfd = c->sfd; // for store_item logging.
- ret = store_item(it, c->cmd, c->thread, &cas, CAS_NO_STALE);
+ ret = store_item(it, c->cmd, c->thread, NULL, &cas, CAS_NO_STALE);
c->cas = cas;
#ifdef ENABLE_DTRACE