From 8bdf0a3bb92046814aebf920eda823d1718ce2c7 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 13 Mar 2018 20:10:34 -0700 Subject: add_delta: use bool incr to be consistent with other functions --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index d17a387..ee18428 100644 --- a/thread.c +++ b/thread.c @@ -625,7 +625,7 @@ void item_unlink(item *item) { * Does arithmetic on a numeric item value. */ enum delta_result_type add_delta(conn *c, const char *key, - const size_t nkey, int incr, + const size_t nkey, bool incr, const int64_t delta, char *buf, uint64_t *cas) { enum delta_result_type ret; -- cgit v1.2.1