Преглед изворни кода

- 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)