summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-az
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xine-lib/patches/patch-az')
-rw-r--r--multimedia/xine-lib/patches/patch-az14
1 files changed, 7 insertions, 7 deletions
diff --git a/multimedia/xine-lib/patches/patch-az b/multimedia/xine-lib/patches/patch-az
index f9906e8826d..db7c4510ff8 100644
--- a/multimedia/xine-lib/patches/patch-az
+++ b/multimedia/xine-lib/patches/patch-az
@@ -1,14 +1,14 @@
-$NetBSD: patch-az,v 1.1 2006/06/30 13:51:40 tron Exp $
+$NetBSD: patch-az,v 1.1.4.1 2006/12/09 09:13:15 salo Exp $
---- src/input/input_http.c 2006-06-30 14:18:35.000000000 +0100
-+++ src/input/input_http.c.orig 2005-07-17 22:49:59.000000000 +0100
-@@ -765,7 +765,8 @@
- printf ("input_http: read...\n");
- */
+--- src/input/input_http.c.orig 2006-11-30 10:54:18.000000000 +0000
++++ src/input/input_http.c
+@@ -789,7 +789,8 @@ static int http_plugin_open (input_plugi
+ while (!done) {
+ /* fprintf (stderr, "input_http: read...\n"); */
- if (_x_io_tcp_read (this->stream, this->fh, &this->buf[len], 1) <= 0) {
+ if (len == sizeof(this->buf) ||
+ _x_io_tcp_read (this->stream, this->fh, &this->buf[len], 1) <= 0) {
- return 0;
+ return -5;
}