Oops. Missed this in the last commit.

Submitted by: Daniel C. Sobral <dcs@newsguy.com>
This commit is contained in:
jkh 1999-02-01 12:32:37 +00:00
parent 56683bbe5a
commit 97fc2dc4c8

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: pager.c,v 1.1.1.1 1998/08/20 08:19:55 msmith Exp $
* $Id: pager.c,v 1.2 1998/09/18 22:58:00 msmith Exp $
*/
/*
* Simple paged-output and paged-viewing functions
@ -139,7 +139,6 @@ pager_file(const char *fname)
return(-1);
}
pager_open();
for (;;) {
hmuch = read(fd, buf, sizeof(buf) - 1);
if (hmuch == -1) {
@ -156,7 +155,6 @@ pager_file(const char *fname)
break;
}
}
pager_close();
close(fd);
return(result);
}