Module: sip-router
Branch: master
Commit: 767c2bc60f7f5a601118329df2c16b2646dbb58f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=767c2bc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Nov 25 12:20:36 2014 +0100
usrloc: fixed issue updating last_modified
- introduced in previos commit
---
modules/usrloc/ucontact.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/usrloc/ucontact.c b/modules/usrloc/ucontact.c
index b0cbb28..cc1c2e5 100644
--- a/modules/usrloc/ucontact.c
+++ b/modules/usrloc/ucontact.c
@@ -827,7 +827,7 @@ int db_update_ucontact_addr(ucontact_t* _c)
keys2[nr_cols2] = &last_mod_col;
vals2[nr_cols2].nul = 0;
- vals2[nr_cols2].val = _c->last_modified;
+ UL_DB_EXPIRES_SET(&vals2[nr_cols2], _c->last_modified);
nr_cols2++;
keys2[nr_cols2] = &ruid_col;