... | ... |
@@ -97,7 +97,7 @@ int register_script_cb( cb_function f, int type, void *param ) |
97 | 97 |
goto add_error; |
98 | 98 |
} |
99 | 99 |
} |
100 |
- if (type&REQ_TYPE_CB) { |
|
100 |
+ if (type&RPL_TYPE_CB) { |
|
101 | 101 |
/* callback (also) for reply script */ |
102 | 102 |
if (type&PRE_SCRIPT_CB) { |
103 | 103 |
if (add_callback( &pre_rpl_cb, f, param)<0) |