Browse Source

script callbacks: typo correction: s/pre/post

Miklos Tirpak 16 years ago
parent
commit
61d41e8473
1 changed files with 1 additions and 1 deletions
  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 */