Module: kamailio
Branch: master
Commit: 943724e62c2b3bb98a37d9f496cc6c76ecb976cb
URL:
https://github.com/kamailio/kamailio/commit/943724e62c2b3bb98a37d9f496cc6c7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-02T08:19:10+02:00
usrloc: removed useless set of db type for expire column
---
Modified: src/modules/usrloc/dlist.c
---
Diff:
https://github.com/kamailio/kamailio/commit/943724e62c2b3bb98a37d9f496cc6c7…
Patch:
https://github.com/kamailio/kamailio/commit/943724e62c2b3bb98a37d9f496cc6c7…
---
diff --git a/src/modules/usrloc/dlist.c b/src/modules/usrloc/dlist.c
index c2b3e15791..77eecc5aed 100644
--- a/src/modules/usrloc/dlist.c
+++ b/src/modules/usrloc/dlist.c
@@ -132,7 +132,6 @@ static inline int get_all_db_ucontacts(void *buf, int len, unsigned
int flags,
/* where fields */
keys1[0] = &expires_col;
ops1[0] = OP_GT;
- vals1[0].type = DB1_STR;
vals1[0].nul = 0;
UL_DB_EXPIRES_SET(&vals1[0], time(0));