We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NZ
1 parent ad12a68 commit 96ece90Copy full SHA for 96ece90
src/os/posix/dev-serial.c
@@ -81,7 +81,7 @@ static REBOOL Set_Serial_Settings(int ttyfd, REBREQ *req)
81
printf("setting attributes: speed %d\n", speed);
82
#endif
83
84
- if (NZ(cfsetospeed (&attr, speed)) || NZ(cfsetispeed (&attr, speed)))
+ if (cfsetospeed(&attr, speed)!=0 || cfsetispeed(&attr, speed)!=0)
85
return FALSE;
86
87
// TTY has many attributes. Refer to "man tcgetattr" for descriptions.
0 commit comments