|
@@ -87,7 +87,7 @@ int set_mod_param_regex(char* regex, char* name, modparam_t type, void* val)
|
|
|
if (regexec(&preg, t->exports->name, 0, 0, 0) == 0) {
|
|
|
DBG("set_mod_param_regex: '%s' matches module '%s'\n", regex, t->exports->name);
|
|
|
mod_found = 1;
|
|
|
- ptr = find_param_export(t, name, type | (type & (PARAM_STR|PARAM_STRING))?PARAM_STR|PARAM_STRING:0, ¶m_type);
|
|
|
+ ptr = find_param_export(t, name, type | ((type & (PARAM_STR|PARAM_STRING))?PARAM_STR|PARAM_STRING:0), ¶m_type);
|
|
|
if (ptr) {
|
|
|
// type casting
|
|
|
if (type == PARAM_STRING && PARAM_TYPE_MASK(param_type) == PARAM_STR) {
|