[sr-dev] git:master: auth_db(k): proper initialization for the default column
Henning Westerholt
henning.westerholt at 1und1.de
Tue Jul 27 18:52:05 CEST 2010
Module: sip-router
Branch: master
Commit: 42a27402b74d44eebd702bcd5b5afa598205b520
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=42a27402b74d44eebd702bcd5b5afa598205b520
Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date: Tue Jul 27 18:51:07 2010 +0200
auth_db(k): proper initialization for the default column
---
modules_k/auth_db/authdb_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/auth_db/authdb_mod.c b/modules_k/auth_db/authdb_mod.c
index f7eb782..fa15447 100644
--- a/modules_k/auth_db/authdb_mod.c
+++ b/modules_k/auth_db/authdb_mod.c
@@ -179,7 +179,7 @@ static int mod_init(void)
user_column.len = strlen(user_column.s);
domain_column.len = strlen(domain_column.s);
pass_column.len = strlen(pass_column.s);
- pass_column_2.len = strlen(pass_column.s);
+ pass_column_2.len = strlen(pass_column_2.s);
/* Find a database module */
if (db_bind_mod(&db_url, &auth_dbf) < 0){
More information about the sr-dev
mailing list