return "set ";
}
-static inline bool can_by_encrypted(const memcached_storage_action_t verb) {
+static inline bool can_be_encrypted(const memcached_storage_action_t verb) {
switch (verb) {
case SET_OP:
case ADD_OP:
hashkit_string_st *destination = NULL;
if (memcached_is_encrypted(ptr)) {
- if (can_by_encrypted(verb) == false) {
+ if (can_be_encrypted(verb) == false) {
return memcached_set_error(
*ptr, MEMCACHED_NOT_SUPPORTED, MEMCACHED_AT,
memcached_literal_param("Operation not allowed while encyrption is enabled"));