Skip to content

Commit

Permalink
Endace API corrections.
Browse files Browse the repository at this point in the history
Fixed a couple of the API calls that were incorrect.
  • Loading branch information
SgtMalicious committed Jul 20, 2012
1 parent 2b4b85d commit b05da6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daq_endace.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ static int endace_daq_stop(void *handle)
{
return DAQ_ERROR;
}
dag_stop_stream(ctx->fd, 0);
dag_detach_stream(ctx->fd, 0);
dag_stop_stream(ctx->fd, ctx->stream);
dag_detach_stream(ctx->fd, ctx->stream);
ctx->state = DAQ_STATE_STOPPED;
return DAQ_SUCCESS;
}
Expand Down

0 comments on commit b05da6b

Please sign in to comment.