Module: sip-router
Branch: 3.1
Commit: c9a4e86fb196aaa1024ac08f25c8fa7d7d3a400f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c9a4e86…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Jul 18 22:37:07 2011 +0200
pv: use suip2a(...) for $snd(..)
- fixes FS#140, reported by Klaus Darilion
(cherry picked from commit e151a9e99b1fed7805eaed5d16ca3d6466e1f517)
---
modules_k/pv/pv_branch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/pv/pv_branch.c b/modules_k/pv/pv_branch.c
index a9dd1bc..4081429 100644
--- a/modules_k/pv/pv_branch.c
+++ b/modules_k/pv/pv_branch.c
@@ -395,7 +395,7 @@ int pv_get_sndto(struct sip_msg *msg, pv_param_t *param,
(int)snd_inf->len);
default:
/* 0 - ip */
- s.s = su2a(snd_inf->to, sizeof(*snd_inf->to));
+ s.s = suip2a(snd_inf->to, sizeof(*snd_inf->to));
s.len = strlen(s.s);
return pv_get_strval(msg, param, res, &s);
}