diff src/lib/istream-data.c @ 2431:8e9d8cb1e674 HEAD

Removed istream.disconnected, it's too much of a special case and the only place where it's needed will be removed soon. Added istream.eof back, it's more useful.
author Timo Sirainen <tss@iki.fi>
date Sun, 22 Aug 2004 07:00:06 +0300
parents d141e1bfdd63
children 904a268921af
line wrap: on
line diff
--- a/src/lib/istream-data.c	Sun Aug 22 06:19:58 2004 +0300
+++ b/src/lib/istream-data.c	Sun Aug 22 07:00:06 2004 +0300
@@ -18,6 +18,7 @@
 
 static ssize_t _read(struct _istream *stream __attr_unused__)
 {
+	stream->istream.eof = TRUE;
 	return -1;
 }