Skip to content

Commit

Permalink
fix bad buffer flush
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Jan 3, 2014
1 parent cdffb81 commit e01e012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moves/putdatac.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ void _put_data(void *ps, unsigned count, MYO_STRUCT* pm)
{
memcpy(pm->MYO_PTR, ps, pm->MYO_COUNT);
pm->MYO_PTR += pm->MYO_COUNT;
ps = (char*) ps + pm->MYO_COUNT;
count -= pm->MYO_COUNT;
pm->MYO_COUNT = 0;
}
Expand Down

0 comments on commit e01e012

Please sign in to comment.