Skip to content

Commit

Permalink
Update judge_client.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Nov 16, 2024
1 parent e3e89e9 commit da7c97c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/core/judge_client/judge_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -837,13 +837,13 @@ void make_diff_out_simple(FILE *f1, FILE *f2,char * prefix, int c1, int c2, cons
}else if(!feof(f1)&&fgets(buf1,BUFFER_SIZE-1,f1)){
fprintSafe(diff,buf1);
}else{
fprintf(diff,"["); // standard output ending
fprintf(diff,""); // standard output ending
}
fprintf(diff,"|");
if(row==1){
fprintSafe(diff,prefix);
if(c2==EOF){
fprintf(diff,"]"); //Binary Code
fprintf(diff,""); //Binary Code
}else {
buf2[0]=c2; // patch buf2 with c2
if(!feof(f2)&&fgets(buf2+1,BUFFER_SIZE-2,f2)){
Expand Down

0 comments on commit da7c97c

Please sign in to comment.