Replace two "return 0" with debug_return_bool(false).

This commit is contained in:
Todd C. Miller
2015-07-22 19:11:32 -06:00
parent 0765f5fe7f
commit e941f97eb4

View File

@@ -161,7 +161,7 @@ sudo_term_raw_v1(int fd, int isig)
again:
if (!changed && tcgetattr(fd, &oterm) != 0)
return 0;
debug_return_bool(false);
(void) memcpy(&term, &oterm, sizeof(term));
/* Set terminal to raw mode */
term.c_cc[VMIN] = 1;
@@ -194,7 +194,7 @@ sudo_term_cbreak_v1(int fd)
again:
if (!changed && tcgetattr(fd, &oterm) != 0)
return 0;
debug_return_bool(false);
(void) memcpy(&term, &oterm, sizeof(term));
/* Set terminal to half-cooked mode */
term.c_cc[VMIN] = 1;