summaryrefslogtreecommitdiff
path: root/src/input/input_http.c
diff options
context:
space:
mode:
authorMatt Messier <mmessier@grapetv.org>2007-05-16 22:14:24 -0400
committerMatt Messier <mmessier@grapetv.org>2007-05-16 22:14:24 -0400
commitbee1e452179dc0aca884adf39c5727b99bfba96c (patch)
tree732da4ae61b99b784fc1220abcbef9c23ee17e46 /src/input/input_http.c
parent379cc3bc5b9230d503b90c6bba58a89c8c515e06 (diff)
parent65e56d6b071c42dfedd4a0b0c28e627465c67295 (diff)
downloadxine-lib-bee1e452179dc0aca884adf39c5727b99bfba96c.tar.gz
xine-lib-bee1e452179dc0aca884adf39c5727b99bfba96c.tar.bz2
Merge changes from main 1.2 repository
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"),