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

Alex Hermann alex at speakup.nl
Fri Apr 22 18:49:40 CEST 2011


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

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