]> git.tue.mpg.de Git - paraslash.git/commit
filter_chain: Don't return eof too early
authorAndre <maan@p133.(none)>
Sun, 4 Jun 2006 19:52:00 +0000 (21:52 +0200)
committerAndre <maan@p133.(none)>
Sun, 4 Jun 2006 19:52:00 +0000 (21:52 +0200)
commit73a1a1396dc46c4534548b78f44b8125a146444d
treedbef3bdd6c0cef97269ce8d442156c61dec6e770
parent9311067b68d9412a02c041873204bcffcb1b9fea
filter_chain: Don't return eof too early

The current code may miss to transform the remaining buffer if the
receiver has already deactivated its task. Check for the number of
loaded bytes in the input buffer of the filter chain and return eof
only if nothing is loaded.
filter_chain.c