Skip to content

Commit

Permalink
p_usrloc: fix to update expires column when db_ops_ruid set
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalaceanu committed Apr 13, 2017
1 parent 0efa099 commit 3cdcb8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/p_usrloc/ucontact.c
Expand Up @@ -819,10 +819,10 @@ int db_update_ucontact_ruid(ucontact_t* _c)
vals2[n2].val.str_val = _c->c;
n2++;

keys2[n2] = &callid_col;
vals2[n2].type = DB1_STR;
keys2[n2] = &expires_col;
vals2[n2].type = DB1_DATETIME;
vals2[n2].nul = 0;
vals2[n2].val.str_val = _c->callid;
vals2[n2].val.time_val = _c->expires;
n2++;

keys2[n2] = &q_col;
Expand Down

0 comments on commit 3cdcb8a

Please sign in to comment.