From 5bb563e3bc72b7aaea4e2df3280f38085bb515ba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 29 Dec 2013 16:46:02 +0100 Subject: UpdateContainer: pass suffix instead of DecoderPlugin Instead of using the first DecoderPlugin that supports the suffix, use the first one that actually implements the "container_scan" method. --- src/UpdateContainer.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/UpdateContainer.hxx') diff --git a/src/UpdateContainer.hxx b/src/UpdateContainer.hxx index 3b54fb39f..b8f0ad39a 100644 --- a/src/UpdateContainer.hxx +++ b/src/UpdateContainer.hxx @@ -31,6 +31,6 @@ bool update_container_file(Directory &directory, const char *name, const struct stat *st, - const DecoderPlugin &plugin); + const char *suffix); #endif -- cgit v1.2.3