Better default input file for test/offst_source.c

This commit is contained in:
Thomas Schmitt 2010-09-22 18:17:10 +00:00
parent cdbf04a776
commit 1f636b2499

View File

@ -20,6 +20,7 @@
static int create_original(struct burn_source **original, char *path, int flag)
{
printf("create_original: path='%s'\n", path);
*original = burn_file_source_new(path, NULL);
if (*original == NULL)
return 0;
@ -102,7 +103,7 @@ static int free_all_sources(struct burn_source *original,
int main(int argc, char **argv)
{
int ret;
char *path = "./README";
char *path = "./COPYRIGHT";
struct burn_source *original = NULL, *offsetters[4];
if (argc > 1)