summaryrefslogtreecommitdiff
path: root/src/input/input_http.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-05-17 01:10:41 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2007-05-17 01:10:41 +0100
commit65e56d6b071c42dfedd4a0b0c28e627465c67295 (patch)
tree82b531d5a77278c0e9f8d63036ba9ff77e60a7f1 /src/input/input_http.c
parentbe3a453c296d3999f1a93ba26b43b995eeb41a2f (diff)
parentad2a7e4b516086d2dffc83e0f31a017b731d6f34 (diff)
downloadxine-lib-65e56d6b071c42dfedd4a0b0c28e627465c67295.tar.gz
xine-lib-65e56d6b071c42dfedd4a0b0c28e627465c67295.tar.bz2
Merge from 1.1.
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r--src/input/input_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 6b7ae9158..6e8932700 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -829,7 +829,7 @@ static int http_plugin_open (input_plugin_t *this_gen ) {
_("input_http: http status not 2xx: >%d %s<\n"),
httpcode, httpstatus);
return -7;
- } else if (httpcode == 403) {
+ } else if (httpcode == 403 || httpcode == 401) {
_x_message(this->stream, XINE_MSG_PERMISSION_ERROR, this->mrl, NULL);
xine_log (this->stream->xine, XINE_LOG_MSG,
_("input_http: http status not 2xx: >%d %s<\n"),