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:
7cd3da9
)
Fixed broken structure comparison.
author
Armin Novak
<armin.novak@thincast.com>
Tue, 1 Sep 2015 09:41:45 +0000
(11:41 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 1 Sep 2015 10:25:43 +0000
(12:25 +0200)
winpr/libwinpr/comm/comm_ioctl.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/comm/comm_ioctl.c
b/winpr/libwinpr/comm/comm_ioctl.c
index
09c1e0e
..
2438044
100644
(file)
--- a/
winpr/libwinpr/comm/comm_ioctl.c
+++ b/
winpr/libwinpr/comm/comm_ioctl.c
@@
-709,7
+709,7
@@
int _comm_ioctl_tcsetattr(int fd, int optional_actions, const struct termios *te
return result;
}
- if (memcmp(¤tState,
&
termios_p, sizeof(struct termios)) != 0)
+ if (memcmp(¤tState, termios_p, sizeof(struct termios)) != 0)
{
CommLog_Print(WLOG_DEBUG, "all termios parameters are not set yet, doing a second attempt...");
if ((result = tcsetattr(fd, optional_actions, termios_p)) < 0)