mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
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…
x
Reference in New Issue
Block a user