[sr-dev] [kamailio] DB issue with multiple reg_id insertion when upgrading to 64dc2bbba40ccc2afc1d34c78a6d066892549fb3 (#117)

Anthony Messina notifications at github.com
Sat Mar 28 03:56:40 CET 2015


Maybe just a copy and paste error.

```
 modules/usrloc/ul_mod.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/usrloc/ul_mod.c b/modules/usrloc/ul_mod.c
index 99c8346..8a716ad 100644
--- a/modules/usrloc/ul_mod.c
+++ b/modules/usrloc/ul_mod.c
@@ -140,9 +140,9 @@ str methods_col     = str_init(METHODS_COL);	/*!< Name of column containing the
 str instance_col    = str_init(INSTANCE_COL);	/*!< Name of column containing the SIP instance value */
 str reg_id_col      = str_init(REG_ID_COL);		/*!< Name of column containing the reg-id value */
 str last_mod_col    = str_init(LAST_MOD_COL);	/*!< Name of column containing the last modified date */
-str srv_id_col      = str_init(REG_ID_COL);		/*!< Name of column containing the server id value */
-str con_id_col      = str_init(REG_ID_COL);		/*!< Name of column containing the connection id value */
-str keepalive_col   = str_init(REG_ID_COL);		/*!< Name of column containing the keepalive value */
+str srv_id_col      = str_init(SRV_ID_COL);		/*!< Name of column containing the server id value */
+str con_id_col      = str_init(CON_ID_COL);		/*!< Name of column containing the connection id value */
+str keepalive_col   = str_init(KEEPALIVE_COL);		/*!< Name of column containing the keepalive value */
 
 str ulattrs_user_col   = str_init(ULATTRS_USER_COL);   /*!< Name of column containing username */
 str ulattrs_domain_col = str_init(ULATTRS_DOMAIN_COL); /*!< Name of column containing domain */
```

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/117#issuecomment-87152689
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150327/87c77bc1/attachment.html>


More information about the sr-dev mailing list