aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/bz2_archive_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-01-18 09:26:10 +0100
committerMax Kellermann <max@duempel.org>2010-01-18 10:18:41 +0100
commit9cb7760c5eb63cb6b7034ec9d2cdf9af2f198652 (patch)
treec15ed352beb3637c4186f3000152bf1a39008896 /src/archive/bz2_archive_plugin.c
parentfb9bd53328e3ff57ea4b3cfee24068f9fb54927b (diff)
downloadmpd-9cb7760c5eb63cb6b7034ec9d2cdf9af2f198652.tar.gz
mpd-9cb7760c5eb63cb6b7034ec9d2cdf9af2f198652.tar.xz
mpd-9cb7760c5eb63cb6b7034ec9d2cdf9af2f198652.zip
input_stream: added attribute "uri"
Diffstat (limited to 'src/archive/bz2_archive_plugin.c')
-rw-r--r--src/archive/bz2_archive_plugin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/archive/bz2_archive_plugin.c b/src/archive/bz2_archive_plugin.c
index 67cc0055c..2414eb519 100644
--- a/src/archive/bz2_archive_plugin.c
+++ b/src/archive/bz2_archive_plugin.c
@@ -168,13 +168,12 @@ bz2_close(struct archive_file *file)
/* single archive handling */
static struct input_stream *
-bz2_open_stream(struct archive_file *file,
- G_GNUC_UNUSED const char *path, GError **error_r)
+bz2_open_stream(struct archive_file *file, const char *path, GError **error_r)
{
struct bz2_archive_file *context = (struct bz2_archive_file *) file;
struct bz2_input_stream *bis = g_new(struct bz2_input_stream, 1);
- input_stream_init(&bis->base, &bz2_inputplugin);
+ input_stream_init(&bis->base, &bz2_inputplugin, path);
bis->archive = context;