dos2unix: fix the case w/o parameters
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
6adf2aad38
commit
d1516c4d62
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ int dos2unix_main(int argc UNUSED_PARAM, char **argv)
|
||||||
do {
|
do {
|
||||||
/* might be convert(NULL) if there is no filename given */
|
/* might be convert(NULL) if there is no filename given */
|
||||||
convert(*argv, conv_type);
|
convert(*argv, conv_type);
|
||||||
} while (*++argv);
|
} while (*argv && *++argv);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue