Module: sip-router
Branch: master
Commit: 89bd0b5d7ce94b33a24d65ab6fff7175583bc76a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=89bd0b5…
Author: Carsten Bock <carsten(a)ng-voice.com>
Committer: Carsten Bock <carsten(a)ng-voice.com>
Date: Thu Aug 7 12:24:16 2014 +0200
ims_usrloc_pcscf: Set NULL properly also for the CONTACT row
---
modules/ims_usrloc_pcscf/usrloc_db.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/ims_usrloc_pcscf/usrloc_db.c b/modules/ims_usrloc_pcscf/usrloc_db.c
index f4ea9e6..c80f6ad 100644
--- a/modules/ims_usrloc_pcscf/usrloc_db.c
+++ b/modules/ims_usrloc_pcscf/usrloc_db.c
@@ -258,6 +258,7 @@ int db_insert_pcontact(struct pcontact* _c)
SET_PROPER_NULL_FLAG((*_c->domain), values, LP_DOMAIN_IDX);
SET_PROPER_NULL_FLAG(_c->aor, values, LP_AOR_IDX);
+ SET_PROPER_NULL_FLAG(_c->aor, values, LP_CONTACT_IDX);
SET_PROPER_NULL_FLAG(_c->received_host, values, LP_RECEIVED_IDX);
VAL_INT(GET_FIELD_IDX(values, LP_RECEIVED_PORT_IDX)) = _c->received_port;