Browse code

ims_usrloc_pcscf: Set NULL properly also for the CONTACT row

Carsten Bock authored on 07/08/2014 10:24:16
Showing 1 changed files
... ...
@@ -258,6 +258,7 @@ int db_insert_pcontact(struct pcontact* _c)
258 258
 
259 259
 	SET_PROPER_NULL_FLAG((*_c->domain), values, LP_DOMAIN_IDX);
260 260
 	SET_PROPER_NULL_FLAG(_c->aor, values, LP_AOR_IDX);
261
+	SET_PROPER_NULL_FLAG(_c->aor, values, LP_CONTACT_IDX);
261 262
 	SET_PROPER_NULL_FLAG(_c->received_host, values, LP_RECEIVED_IDX);
262 263
 
263 264
 	VAL_INT(GET_FIELD_IDX(values, LP_RECEIVED_PORT_IDX)) = _c->received_port;