Module: sip-router
Branch: master
Commit: 37bf92a82b5ff14d38cc22d7d30cc09fd537b98f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=37bf92a…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Tue Jun 30 14:09:53 2009 +0200
registrar(k): port from 1.5 branch, r5873
"match_callid" should be initialized properly, otherwise "registered"
may return false in some cases.
---
modules_k/registrar/lookup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/registrar/lookup.c b/modules_k/registrar/lookup.c
index 2f5644f..1e74594 100644
--- a/modules_k/registrar/lookup.c
+++ b/modules_k/registrar/lookup.c
@@ -179,7 +179,7 @@ int registered(struct sip_msg* _m, char* _t, char* _s)
urecord_t* r;
ucontact_t* ptr;
int res;
- int_str match_callid;
+ int_str match_callid=(int_str)0;
if (_m->new_uri.s) uri = _m->new_uri;
else uri = _m->first_line.u.request.uri;