diff options
author | Ales Guzik <me@aguzik.net> | 2013-09-03 14:07:33 +0300 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-05 11:56:49 +0200 |
commit | 3330aa6f6a7fcd903f74cb8342f315ad35b54ead (patch) | |
tree | 93b37aa86a7233375f81c6cd00831a49b38ebc65 /src/input | |
parent | 8929f88e6d78d538d943e80b66fcf21706e53974 (diff) | |
download | mpd-3330aa6f6a7fcd903f74cb8342f315ad35b54ead.tar.gz mpd-3330aa6f6a7fcd903f74cb8342f315ad35b54ead.tar.xz mpd-3330aa6f6a7fcd903f74cb8342f315ad35b54ead.zip |
input/curl: enable https
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/CurlInputPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/CurlInputPlugin.cxx b/src/input/CurlInputPlugin.cxx index 42fb99982..cd4733973 100644 --- a/src/input/CurlInputPlugin.cxx +++ b/src/input/CurlInputPlugin.cxx @@ -1083,7 +1083,8 @@ static struct input_stream * input_curl_open(const char *url, Mutex &mutex, Cond &cond, Error &error) { - if (strncmp(url, "http://", 7) != 0) + if ((strncmp(url, "http://", 7) != 0) && + (strncmp(url, "https://", 8) != 0)) return NULL; struct input_curl *c = new input_curl(url, mutex, cond); |