From 644df526c13a45b5d5d985ecf3c9fbfd6e6f6d5d Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 31 Aug 2013 23:36:27 +0200 Subject: Use normal timeout handling in tio_skipall() Use the same mechanism in tio_skipall() as in tio_read(), except use a different timeout value. --- common/tio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/tio.h') diff --git a/common/tio.h b/common/tio.h index 7723ee2..3e0af12 100644 --- a/common/tio.h +++ b/common/tio.h @@ -59,7 +59,7 @@ int tio_read(TFILE *fp, void *buf, size_t count); int tio_skip(TFILE *fp, size_t count); /* Read all available data from the stream and empty the read buffer. */ -int tio_skipall(TFILE *fp, int skiptimeout); +int tio_skipall(TFILE *fp, int timeout); /* Write the specified buffer to the stream. */ int tio_write(TFILE *fp, const void *buf, size_t count); -- cgit v1.2.3