Module: kamailio
Branch: master
Commit: 436363806e61b4720c15d3cb559114b677904a01
URL:
https://github.com/kamailio/kamailio/commit/436363806e61b4720c15d3cb559114b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-02-03T21:34:31+01:00
usrloc: use defined OP_NEQ for sql not-equal operator
---
Modified: modules/usrloc/udomain.c
---
Diff:
https://github.com/kamailio/kamailio/commit/436363806e61b4720c15d3cb559114b…
Patch:
https://github.com/kamailio/kamailio/commit/436363806e61b4720c15d3cb559114b…
---
diff --git a/modules/usrloc/udomain.c b/modules/usrloc/udomain.c
index bae4bdf..8006e17 100644
--- a/modules/usrloc/udomain.c
+++ b/modules/usrloc/udomain.c
@@ -853,7 +853,7 @@ int db_timer_udomain(udomain_t* _d)
UL_DB_EXPIRES_SET(&vals[0], act_time + 1);
keys[1] = &expires_col;
- ops[1] = "!=";
+ ops[1] = OP_NEQ;
vals[1].nul = 0;
UL_DB_EXPIRES_SET(&vals[1], 0);