diff options
Diffstat (limited to '')
-rw-r--r-- | src/outputBuffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c index 0d114a1a6..4995fa9a5 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -218,3 +218,9 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream, return 0; } +void output_buffer_skip(OutputBuffer * cb, unsigned num) +{ + int i = outputBufferAbsolute(cb, num); + if (i >= 0) + cb->begin = i; +} |