From 820ca9af9ae1fd05e7cf4b8de03da9199529c7c3 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Wed, 6 Feb 2013 21:48:12 -0500 Subject: took skip out of the getData interface, not needed --- colm/input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'colm/input.c') diff --git a/colm/input.c b/colm/input.c index 3ce576b6..46b72fc6 100644 --- a/colm/input.c +++ b/colm/input.c @@ -208,7 +208,7 @@ int fdGetParseBlock( FsmRun *fsmRun, StreamImpl *ss, return ret; } -int fdGetData( FsmRun *fsmRun, StreamImpl *ss, int skip, char *dest, int length ) +int fdGetData( FsmRun *fsmRun, StreamImpl *ss, char *dest, int length ) { int copied = 0; @@ -562,7 +562,7 @@ static int _getParseBlock( FsmRun *fsmRun, StreamImpl *is, return ret; } -static int _getData( FsmRun *fsmRun, StreamImpl *is, int skip, char *dest, int length ) +static int _getData( FsmRun *fsmRun, StreamImpl *is, char *dest, int length ) { int copied = 0; @@ -576,7 +576,7 @@ static int _getData( FsmRun *fsmRun, StreamImpl *is, int skip, char *dest, int l if ( buf->type == RunBufSourceType ) { Stream *stream = (Stream*)buf->tree; - int glen = stream->in->funcs->getData( fsmRun, stream->in, 0, dest+copied, length ); + int glen = stream->in->funcs->getData( fsmRun, stream->in, dest+copied, length ); if ( glen == 0 ) { debug( REALM_INPUT, "skipping over input\n" ); -- cgit v1.2.1