Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (size > 0) {
- result = ffurl_read(nodes[i].uc, buf, size);
- if (result < 0)
- return total ? total : result;
- if (!result) {
- printf("FILE=%s\n", nodes[i].uc->filename);
- if (i + 1 == data->length ||
- ffurl_seek(nodes[++i].uc, 0, SEEK_SET) < 0)
- break;
- }
- total += result;
- buf += result;
- size -= result;
- }
- data->current = i;
- return total;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement