Return -1 to indicate buffer overflow. Allow buffer fill level to be read
authorMichael Brown <mcb30@etherboot.org>
Mon, 9 May 2005 14:26:10 +0000 (14:26 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 9 May 2005 14:26:10 +0000 (14:26 +0000)
commitbab2924e89d98b15ee0a344ed04fe226a667612e
tree241ea9df2b583096f821734da0d2b792cf810973
parenta89651f3bbabf203b6e7fe6767e403f162371e3d
Return -1 to indicate buffer overflow.  Allow buffer fill level to be read
easily from struct buffer.
src/core/buffer.c
src/include/buffer.h