projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba33f0e
)
Fix assert in passphrase_read_turns_off_echo_during_read
author
Shea Levy
<shea@shealevy.com>
Sat, 24 Sep 2011 18:07:37 +0000
(14:07 -0400)
committer
Shea Levy
<shea@shealevy.com>
Sat, 24 Sep 2011 18:07:37 +0000
(14:07 -0400)
cunit/test_utils.c
patch
|
blob
|
history
diff --git
a/cunit/test_utils.c
b/cunit/test_utils.c
index
94fc368
..
a20fd0f
100644
(file)
--- a/
cunit/test_utils.c
+++ b/
cunit/test_utils.c
@@
-355,7
+355,7
@@
void passphrase_read_turns_off_echo_during_read()
if (tcgetattr(slavefd, &term_flags) != 0)
CU_FAIL_FATAL("Could not get slave pty attributes");
- CU_ASSERT(!(term_flags.c_lflag
|
ECHO))
+ CU_ASSERT(!(term_flags.c_lflag
&
ECHO))
write(masterfd, "\n", (size_t) 2);
close(masterfd);
close(slavefd);