X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aft.c;h=4893f215b8a46cd9c18d0b03e0262b1ff68f72df;hb=6d4179add38f41f609db21885e079145e4b5ea6a;hp=acf751566c61d82e23cc34565c1189f2db147917;hpb=e70beecd3fa6378aadf8773660741873023befcf;p=paraslash.git 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,