Skip to content

Commit

Permalink
Examples: Fix download_low_level_api to be compilable
Browse files Browse the repository at this point in the history
Examples are not build, so the bug was ignored for long time.
  • Loading branch information
jrohel committed Jun 4, 2024
1 parent c0cd2ee commit 4dbad86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/c/download_low_level_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ main(void)
NULL, // Mirror failure callback
NULL, // User's data for the end and mirror failure callbacks
0, // Start of byterange
3788 // End of byterange
3788, // End of byterange
NULL, // Range string to download; Overrides Start and End of byterange
FALSE, // Tell proxy server that we don't want to use cache for this request
FALSE // This target is a zchunk file
);

ret = lr_download_target(target, &tmp_err);
Expand Down

0 comments on commit 4dbad86

Please sign in to comment.