char *buf, int len)
{
struct parser_test *test = ctx->test_data;
- struct test_file *f, *file;
+ struct test_file *f, *file = NULL;
list_for_each_entry(&test->files, f, list) {
if (f->dev != dev)
}
struct load_url_result *load_url_async(void *ctx, struct pb_url *url,
- load_url_complete async_cb, void *async_data)
+ load_url_complete async_cb, void *async_data,
+ waiter_cb stdout_cb, void *stdout_data)
{
struct conf_context *conf = async_data;
struct parser_test *test = conf->dc->test_data;
struct test_file *file;
int fd;
+ /* Ignore the stdout callback for tests */
+ (void)stdout_cb;
+ (void)stdout_data;
+
fd = mkstemp(tmp);
if (fd < 0)
return NULL;
result->local = talloc_strdup(result, tmp);
+ result->url = url;
if (rc < 0)
result->status = LOAD_ERROR;
else