|
@@ -687,6 +687,8 @@ static int t_check_status(struct sip_msg* msg, char *p1, char *foo)
|
|
|
regex_t* re = NULL;
|
|
|
str tmp;
|
|
|
|
|
|
+ fp = (fparam_t*)p1;
|
|
|
+
|
|
|
/* first get the transaction */
|
|
|
if (t_check(msg, 0 ) == -1) return -1;
|
|
|
if ((t = get_t()) == 0) {
|
|
@@ -696,8 +698,6 @@ static int t_check_status(struct sip_msg* msg, char *p1, char *foo)
|
|
|
}
|
|
|
backup = 0;
|
|
|
|
|
|
- fp = (fparam_t*)p1;
|
|
|
-
|
|
|
switch(fp->type) {
|
|
|
case FPARAM_REGEX:
|
|
|
re = fp->v.regex;
|