bufopen: Factor out the pre-checking.
authorNicolas Pennequin <nicolas.pennequin@free.fr>
Tue, 7 Aug 2007 20:07:23 +0000 (22:07 +0200)
committerNicolas Pennequin <nicolas.pennequin@free.fr>
Tue, 7 Aug 2007 20:07:23 +0000 (22:07 +0200)
commitdc66c7e0f5aab33aff79538afbb0f20484e4b7c4
tree4788ada7d1ab4a16dd45690c02d7bafef6bfc76c
parenta5daeb774b389b71550d27f6e35d385aef3361ad
bufopen: Factor out the pre-checking.

Factored out the code that checks there is enough space to finish buffering
the current handle. It will be used again in the next commit.
testplugin.c