X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aft.c;h=4893f215b8a46cd9c18d0b03e0262b1ff68f72df;hp=acf751566c61d82e23cc34565c1189f2db147917;hb=6d4179add38f41f609db21885e079145e4b5ea6a;hpb=8faafd97cfa6aa07cb79d908022001c5dffb3bc6 diff --git a/aft.c b/aft.c index acf75156..4893f215 100644 --- a/aft.c +++ b/aft.c @@ -1876,8 +1876,10 @@ static int add_one_audio_file(const char *path, void *private_data) unsigned char hash[HASH_SIZE]; ret = guess_audio_format(path); - if (ret < 0 && !(pad->flags & ADD_FLAG_ALL)) + if (ret < 0 && !(pad->flags & ADD_FLAG_ALL)) { + ret = 0; goto out_free; + } query.data = (char *)path; query.size = strlen(path) + 1; ret = send_callback_request(path_brother_callback, &query,