Module: sip-router
Branch: alexh/master
Commit: 16ed0aefc4d8957de4db362e5ace5f998615883d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=16ed0ae…
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') \