aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_curl.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-30 00:40:14 +0100
committerMax Kellermann <max@duempel.org>2009-01-30 00:40:14 +0100
commitdc1cc7e7e52960cceea5514397ec33f7ffc0dd6d (patch)
treea76aba35426426992ebfa3c58d0e348b5152658b /src/input_curl.c
parent297101c3f869abe02aeb642774f6c82b75fcfe81 (diff)
downloadmpd-dc1cc7e7e52960cceea5514397ec33f7ffc0dd6d.tar.gz
mpd-dc1cc7e7e52960cceea5514397ec33f7ffc0dd6d.tar.xz
mpd-dc1cc7e7e52960cceea5514397ec33f7ffc0dd6d.zip
input_stream: let the implementation assign is->plugin
This way, plugins can manipulate the plugin pointer during open().
Diffstat (limited to 'src/input_curl.c')
-rw-r--r--src/input_curl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_curl.c b/src/input_curl.c
index fd28c480e..4956cf5c9 100644
--- a/src/input_curl.c
+++ b/src/input_curl.c
@@ -909,6 +909,7 @@ input_curl_open(struct input_stream *is, const char *url)
c->buffers = g_queue_new();
c->rewind = g_queue_new();
+ is->plugin = &input_plugin_curl;
is->data = c;
c->multi = curl_multi_init();