mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 18:24:13 +00:00
Advance the data_stream data pointer
This commit is contained in:
1 parent
a84b76be2a
commit
2fea35282f
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user