summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2018-03-13 20:10:34 -0700
committerdormando <dormando@rydia.net>2018-03-14 12:47:05 -0700
commit8bdf0a3bb92046814aebf920eda823d1718ce2c7 (patch)
tree8cdb8f7b6806977175cf1bcfd56c9b3e06c6f094 /thread.c
parent99b409af7830208aae3fadc92e2ee45b943f1ddc (diff)
downloadmemcached-8bdf0a3bb92046814aebf920eda823d1718ce2c7.tar.gz
add_delta: use bool incr to be consistent with other functions
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
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;