* fhandler_serial.cc (fhandler_serial::tcflush): Fix typo.

This commit is contained in:
Christopher Faylor 2002-07-19 14:17:11 +00:00
parent bd36eb7f62
commit 86620e8f92
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-07-19 Christopher Faylor <cgf@redhat.com>
* fhandler_serial.cc (fhandler_serial::tcflush): Fix typo.
2002-07-15 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_group_sidlist): Fix formatting.

View File

@ -365,7 +365,7 @@ fhandler_serial::tcflush (int queue)
if (queue == TCOFLUSH || queue == TCIOFLUSH)
PurgeComm (get_handle (), PURGE_TXABORT | PURGE_TXCLEAR);
if (queue == TCIFLUSH | queue == TCIOFLUSH)
if (queue == TCIFLUSH || queue == TCIOFLUSH)
/* Input flushing by polling until nothing turns up
(we stop after 1000 chars anyway) */
for (int max = 1000; max > 0; max--)