Module: sip-router
Branch: master
Commit: ff5d5e143fd8ac1c0a269077d5fa0c6b36873472
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ff5d5e1…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)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') \