mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
- fix invalid mode
This commit is contained in:
parent
e2e56c7c41
commit
a85a63f6ee
@ -210,7 +210,7 @@ static void data_readlines(void)
|
||||
char current_line[256];
|
||||
FILE *fp;
|
||||
|
||||
fp = (inp_stdin) ? stdin : bb_xfopen(filename, "rt");
|
||||
fp = (inp_stdin) ? stdin : bb_xfopen(filename, "r");
|
||||
flines = NULL;
|
||||
for (i = 0; (feof(fp)==0) && (i <= MAXLINES); i++) {
|
||||
strcpy(current_line, "");
|
||||
|
Loading…
Reference in New Issue
Block a user