Browse code

cplc: init structures, fix parameter number in fixup

Daniel-Constantin Mierla authored on 31/07/2017 13:27:50
Showing 1 changed files
... ...
@@ -203,7 +203,7 @@ static int fixup_cpl_run_script3(void** param, int param_no)
203 203
 {
204 204
 	if (param_no==1 || param_no==2) {
205 205
 		return fixup_cpl_run_script(param, param_no);
206
-	} else if (param_no==2) {
206
+	} else if (param_no==3) {
207 207
 		return fixup_spve_null(param, 1);
208 208
 	}
209 209
 	return 0;