소스 검색

script callbacks: typo correction: s/pre/post

Miklos Tirpak 16 년 전
부모
커밋
61d41e8473
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 (run_top_route(route, &faked_req)<0)
 			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 */