Fix identation
This commit is contained in:
@@ -133,15 +133,15 @@ restart:
|
||||
/*
|
||||
* Fix strange behaviour: a file must be open to prevent echo
|
||||
*/
|
||||
if (!(flags & RPP_ECHO_ON))
|
||||
if (!(flags & RPP_ECHO_ON)) {
|
||||
open(_PATH_TTY, O_RDONLY);
|
||||
}
|
||||
|
||||
/*
|
||||
* Read and write to /dev/tty if available. If not, read from
|
||||
* stdin and write to stderr unless a tty is required.
|
||||
*/
|
||||
if ((flags & RPP_STDIN) ||
|
||||
(input = output = open(_PATH_TTY, O_RDWR)) == -1) {
|
||||
if ((flags & RPP_STDIN) || (input = output = open(_PATH_TTY, O_RDWR)) == -1) {
|
||||
if (flags & RPP_REQUIRE_TTY) {
|
||||
errno = ENOTTY;
|
||||
return(NULL);
|
||||
|
||||
Reference in New Issue
Block a user