浏览代码

- fixed copy&paste error, reply callbacks newer installed

Tomas Mandys 19 年之前
父节点
当前提交
071d8b0912
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      script_cb.c

+ 1 - 1
script_cb.c

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