Advance the data_stream data pointer

This commit is contained in:
Travis Cross 2014-07-04 07:43:59 +00:00
parent a84b76be2a
commit 2fea35282f
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
dstream->length = 0;
}
memmove(ptr, dstream->data, ncur);
dstream->data += ncur;
return ncur;
}