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 287b59cfd3
commit 38c029d5e3

View File

@ -20,6 +20,7 @@
static int create_original(struct burn_source **original, char *path, int flag) 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); *original = burn_file_source_new(path, NULL);
if (*original == NULL) if (*original == NULL)
return 0; return 0;
@ -102,7 +103,7 @@ static int free_all_sources(struct burn_source *original,
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
int ret; int ret;
char *path = "./README"; char *path = "./COPYRIGHT";
struct burn_source *original = NULL, *offsetters[4]; struct burn_source *original = NULL, *offsetters[4];
if (argc > 1) if (argc > 1)