summaryrefslogtreecommitdiff
path: root/storage.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2019-05-14 20:31:39 -0700
committerdormando <dormando@rydia.net>2019-05-20 13:14:44 -0700
commit31208e8fbeceea163c2fd95dd1031ec684d88fc3 (patch)
tree072ec372d4d8c16716d5df90ccf57490ed919892 /storage.c
parent4723d424f32acc3ee544d3a7bd91b9f05fe4c608 (diff)
downloadmemcached-31208e8fbeceea163c2fd95dd1031ec684d88fc3.tar.gz
remove inline_ascii_response option
Has defaulted to false since 1.5.0, and with -o modern for a few years before that. Performance is fine, no reported bugs. Always was the intention. Code is simpler without the options.
Diffstat (limited to 'storage.c')
-rw-r--r--storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage.c b/storage.c
index 45554cf..8b7764a 100644
--- a/storage.c
+++ b/storage.c
@@ -33,7 +33,7 @@ static int storage_write(void *storage, const int clsid, const int item_age) {
uint32_t flags;
if ((it->it_flags & ITEM_HDR) == 0 &&
(item_age == 0 || current_time - it->time > item_age)) {
- FLAGS_CONV(settings.inline_ascii_response, it, flags);
+ FLAGS_CONV(it, flags);
item *hdr_it = do_item_alloc(ITEM_key(it), it->nkey, flags, it->exptime, sizeof(item_hdr));
/* Run the storage write understanding the start of the item is dirty.
* We will fill it (time/exptime/etc) from the header item on read.