Module: sip-router
Branch: master
Commit: ddc717ff392f30c126feae6e80db2a1c827b8ae0
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ddc717f…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Tue Jan 25 11:06:37 2011 +0200
modules_k/p_usrloc Fixed a typo
---
modules_k/p_usrloc/ul_db_failover.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/p_usrloc/ul_db_failover.c b/modules_k/p_usrloc/ul_db_failover.c
index a4d2889..f9f14ed 100644
--- a/modules_k/p_usrloc/ul_db_failover.c
+++ b/modules_k/p_usrloc/ul_db_failover.c
@@ -186,7 +186,7 @@ static int ul_db_failover_switch(db_func_t * dbf, db1_con_t * dbh,
ul_db_handle_
"db %i.\n", handle->id, no);
return -1;
}
- memset(&tmp, 0, sizeof(ul_db_handle_t));
+ memset(&tmp, 0, sizeof(ul_db_t));
memmove(&tmp, db, sizeof(ul_db_t));
memset(tmp.url.s, 0, UL_DB_URL_LEN);
memmove(tmp.url.s, db->url.s, UL_DB_URL_LEN);