Explorar o código

script callbacks: typo correction: s/pre/post

Miklos Tirpak %!s(int64=16) %!d(string=hai) anos
pai
achega
61d41e8473
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/tm/t_suspend.c

+ 1 - 1
modules/tm/t_suspend.c

@@ -160,7 +160,7 @@ int t_continue(unsigned int hash_index, unsigned int label,
 	if (exec_pre_script_cb(&faked_req, FAILURE_CB_TYPE)>0) {
 	if (exec_pre_script_cb(&faked_req, FAILURE_CB_TYPE)>0) {
 		if (run_top_route(route, &faked_req)<0)
 		if (run_top_route(route, &faked_req)<0)
 			LOG(L_ERR, "ERROR: t_continue: Error in run_top_route\n");
 			LOG(L_ERR, "ERROR: t_continue: Error in run_top_route\n");
-		exec_pre_script_cb(&faked_req, FAILURE_CB_TYPE);
+		exec_post_script_cb(&faked_req, FAILURE_CB_TYPE);
 	}
 	}
 	/* TODO: save_msg_lumps should clone the lumps to shm mem */
 	/* TODO: save_msg_lumps should clone the lumps to shm mem */