Advance the data_stream data pointer
This commit is contained in:
parent
a84b76be2a
commit
2fea35282f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue