Skip to content

Commit 2258bec

Browse files
committed
not_ok_is_cf is handled
1 parent 6dc5a60 commit 2258bec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/serve_2.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,6 +2195,7 @@ serve_run_request(
21952195
if (lang && lang->container_options) {
21962196
srgp->lang_container_options = xstrdup(lang->container_options);
21972197
}
2198+
srgp->not_ok_is_cf = not_ok_is_cf;
21982199

21992200
struct super_run_in_problem_packet *srpp = srp->problem;
22002201
srpp->type = xstrdup(problem_unparse_type(prob->type));
@@ -3622,7 +3623,7 @@ serve_read_compile_packet(
36223623
comp_extra->notify_flag, re.mime_type, re.eoln_type,
36233624
re.locale_id, compile_report_dir, comp_pkt, 0, &re.run_uuid,
36243625
comp_extra->rejudge_flag, comp_pkt->zip_mode, re.store_flags,
3625-
0 /* not_ok_is_cf */,
3626+
comp_extra->not_ok_is_cf,
36263627
NULL, 0) < 0) {
36273628
snprintf(errmsg, sizeof(errmsg), "failed to write run packet\n");
36283629
goto report_check_failed;

0 commit comments

Comments
 (0)