sort: deindent openfile

This commit is contained in:
Baptiste Daroussin 2022-10-13 10:31:08 +02:00
parent f079ef8aa4
commit 958b0d4642

View File

@ -527,9 +527,9 @@ openfile(const char *fn, const char *mode)
{
FILE *file;
if (strcmp(fn, "-") == 0) {
if (strcmp(fn, "-") == 0)
return ((mode && mode[0] == 'r') ? stdin : stdout);
} else {
mode_t orig_file_mask = 0;
int is_tmp = file_is_tmp(fn);
@ -566,7 +566,6 @@ openfile(const char *fn, const char *mode)
if (is_tmp && (mode[0] == 'w'))
umask(orig_file_mask);
}
return (file);
}