Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Max Horn <max@quendi.de>
  • Loading branch information
ChrisJefferson and fingolfin authored Apr 20, 2020
1 parent 18edec5 commit 9173581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sysfiles.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,8 @@ Int SyFopen (
Char namegz [1024];
int flags = 0;

Char* terminator = strrchr(name, '.');
Int endsgz = terminator && (strcmp(terminator, ".gz") == 0);
Char * terminator = strrchr(name, '.');
BOOL endsgz = terminator && (strcmp(terminator, ".gz") == 0);

/* handle standard files */
if ( strcmp( name, "*stdin*" ) == 0 ) {
Expand Down

0 comments on commit 9173581

Please sign in to comment.