Module: kamailio
Branch: master
Commit: d4251378c701a46803e24df607c0959a2975fa7b
URL:
https://github.com/kamailio/kamailio/commit/d4251378c701a46803e24df607c0959…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-11-22T10:16:35+01:00
memcached: updated to use xavp long value field
---
Modified: src/modules/memcached/mcd_var.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d4251378c701a46803e24df607c0959…
Patch:
https://github.com/kamailio/kamailio/commit/d4251378c701a46803e24df607c0959…
---
diff --git a/src/modules/memcached/mcd_var.c b/src/modules/memcached/mcd_var.c
index 0a7cb8e9b2c..3c12e9c44fd 100644
--- a/src/modules/memcached/mcd_var.c
+++ b/src/modules/memcached/mcd_var.c
@@ -403,10 +403,10 @@ int pv_set_mcd_expire(struct sip_msg* msg, pv_param_t *param, int
op, pv_value_t
goto errout;
}
- LM_DBG("set expire time %d for key %.*s with flag %d\n", val->ri, key.len,
key.s, return_flags);
+ LM_DBG("set expire time %ld for key %.*s with flag %d\n", val->ri, key.len,
key.s, return_flags);
if ((rc= memcached_set(memcached_h, key.s, key.len, return_value, strlen(return_value),
val->ri, return_flags)) != MEMCACHED_SUCCESS) {
- LM_ERR("could not set expire time %d for key %.*s - error was %s\n",
val->ri, key.len, key.s, memcached_strerror(memcached_h, rc));
+ LM_ERR("could not set expire time %ld for key %.*s - error was %s\n",
val->ri, key.len, key.s, memcached_strerror(memcached_h, rc));
goto errout;
}