[sr-dev] git:alexh/master: modules_k/pv: allow spaces in transformation parameters

Alex Hermann alex at speakup.nl
Tue Mar 29 18:29:11 CEST 2011


Module: sip-router
Branch: alexh/master
Commit: 16ed0aefc4d8957de4db362e5ace5f998615883d
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=16ed0aefc4d8957de4db362e5ace5f998615883d

Author: Alex Hermann <alex at speakup.nl>
Committer: Alex Hermann <alex at speakup.nl>
Date:   Fri Mar 11 16:51:41 2011 +0100

modules_k/pv: allow spaces in transformation parameters

---

 modules_k/pv/pv_trans.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_k/pv/pv_trans.c b/modules_k/pv/pv_trans.c
index eb8f405..476b5c0 100644
--- a/modules_k/pv/pv_trans.c
+++ b/modules_k/pv/pv_trans.c
@@ -1180,7 +1180,7 @@ int tr_eval_tobody(struct sip_msg *msg, tr_param_t *tp, int subtype,
 		_tp->v.data = (void*)_spec; \
 	} else { /* string */ \
 		_ps = _p; \
-		while(is_in_str(_p, _in) && *_p!=' ' && *_p!='\t' && *_p!='\n' \
+		while(is_in_str(_p, _in) && *_p!='\t' && *_p!='\n' \
 				&& *_p!=TR_PARAM_MARKER && *_p!=TR_RBRACKET) \
 				_p++; \
 		if(*_p=='\0') \




More information about the sr-dev mailing list