]> mj.ucw.cz Git - libucw.git/commit
Added another version of bgets() which doesn't die on too long lines and
authorMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2003 13:49:10 +0000 (13:49 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2003 13:49:10 +0000 (13:49 +0000)
commit7f2185205dccb18444917d57641d6321b9f46576
tree1f484b00335babb578517a88741f9c4e54d18354
parent562b2b0f0eaa8baf71a1f39a507b0a0764e18b08
Added another version of bgets() which doesn't die on too long lines and
reports an error instead.

I wrote it originally for new http.c, but the required http.c changes were
going to be too extensive, so I postponed the changes and this function
is currently unused, but probably worth saving for the future.

Also optimized the existing bgets functions a bit.
lib/fastbuf.c
lib/fastbuf.h