Browse code

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 authored on 05/06/2009 13:19:59
Showing 1 changed files
... ...
@@ -1083,7 +1083,7 @@ int fix_param(int type, void** param)
1083 1083
 				ERR("Bad regular expression '%s'\n", (char*)*param);
1084 1084
 				goto error;
1085 1085
 			}
1086
-			p->fixed = &p->v;
1086
+			p->fixed = p->v.regex;
1087 1087
 			break;
1088 1088
 		case FPARAM_AVP:
1089 1089
 			name.s = (char*)*param;