(set_termbuf): use {} around if to make else unambiguous

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15245 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-27 13:42:04 +00:00
parent 0f973fb603
commit b5bf953b97

View File

@@ -215,13 +215,14 @@ set_termbuf(void)
/*
* Only make the necessary changes.
*/
if (memcmp(&termbuf, &termbuf2, sizeof(termbuf)))
if (memcmp(&termbuf, &termbuf2, sizeof(termbuf))) {
# ifdef STREAMSPTY
if (really_stream)
tcsetattr(ttyfd, TCSANOW, &termbuf);
else
# endif
tcsetattr(ourpty, TCSANOW, &termbuf);
}
}