Browse Source

core: regex fixup fix for k modules

k modules that use the core regex fixup functions expect a pointer
to a regex, but got instead a double pointer to a regex.
Andrei Pelinescu-Onciul 16 years ago
parent
commit
15d47d5cb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sr_module.c

+ 1 - 1
sr_module.c

@@ -1083,7 +1083,7 @@ int fix_param(int type, void** param)
 				ERR("Bad regular expression '%s'\n", (char*)*param);
 				goto error;
 			}
-			p->fixed = &p->v;
+			p->fixed = p->v.regex;
 			break;
 		case FPARAM_AVP:
 			name.s = (char*)*param;