From e941f97eb4df76674ede7865a39c0623a36efbe6 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 22 Jul 2015 19:11:32 -0600 Subject: [PATCH] Replace two "return 0" with debug_return_bool(false). --- lib/util/term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util/term.c b/lib/util/term.c index 26c31b348..3c73116c9 100644 --- a/lib/util/term.c +++ b/lib/util/term.c @@ -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;