Module: kamailio
Branch: master
Commit: 44fdfff6b407bc3d541cd43f249700a69f1e0eb8
URL:
https://github.com/kamailio/kamailio/commit/44fdfff6b407bc3d541cd43f249700a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-03-28T08:57:15+01:00
usrloc: proper init column names
- reported and patch by Anthony Messina, GH#117
---
Modified: modules/usrloc/ul_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/44fdfff6b407bc3d541cd43f249700a…
Patch:
https://github.com/kamailio/kamailio/commit/44fdfff6b407bc3d541cd43f249700a…
---
diff --git a/modules/usrloc/ul_mod.c b/modules/usrloc/ul_mod.c
index 99c8346..c5e95f8 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 */