execute_external_filter(): Actually fix the buffer scaling
authorFabian Keil <fk@fabiankeil.de>
Fri, 21 Aug 2015 10:58:53 +0000 (10:58 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 21 Aug 2015 10:58:53 +0000 (10:58 +0000)
commite40f4199f733eff6459e4d76929e003f762ce92e
treed438a1fec8f1b30699e9065ae7a4e227b0c925e1
parent1bc9d029b1abced3a425eaae9a6faa14a8d0ff80
execute_external_filter(): Actually fix the buffer scaling

The previous commit was about as wrong as the code it
"fixed" and could still result in a buffer that wasn't
large enough to hold all the output from the external filter.

Submitted by Yang Xia in #892.
filters.c