Advance the data_stream data pointer

This commit is contained in:
Travis Cross committed 2014-07-04 07:43:59 +00:00
1 parent a84b76be2a
commit 2fea35282f
1 file changed
+1
+1
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;
}