summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index 1ff8ce5..f250084 100644
--- a/logger.c
+++ b/logger.c
@@ -181,7 +181,7 @@ static int _logger_thread_parse_ise(logentry *e, char *scratch) {
const char * const cmd_map[] = {
"null", "add", "set", "replace", "append", "prepend", "cas" };
- if (le->cmd <= 5)
+ if (le->cmd <= 6)
cmd = cmd_map[le->cmd];
uriencode(le->key, keybuf, le->nkey, KEY_MAX_URI_ENCODED_LENGTH);