summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-11-22 15:07:32 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-11-22 15:07:32 +0000
commitce00532bc93eab545226b1e1d4b3a43febc8f4bb (patch)
tree02d7dc6d6002d074cfa6502909bc56512149894a /net-libs/libsoup/files
parentpatch for msn servers for bitlbee (diff)
downloadhistorical-ce00532bc93eab545226b1e1d4b3a43febc8f4bb.tar.gz
historical-ce00532bc93eab545226b1e1d4b3a43febc8f4bb.tar.bz2
historical-ce00532bc93eab545226b1e1d4b3a43febc8f4bb.zip
patch for msn servers for bitlbee
Diffstat (limited to 'net-libs/libsoup/files')
-rw-r--r--net-libs/libsoup/files/digest-libsoup-1.99.26-r11
-rw-r--r--net-libs/libsoup/files/libsoup-1.99.26-msn.patch21
2 files changed, 22 insertions, 0 deletions
diff --git a/net-libs/libsoup/files/digest-libsoup-1.99.26-r1 b/net-libs/libsoup/files/digest-libsoup-1.99.26-r1
new file mode 100644
index 000000000000..757cf56086b8
--- /dev/null
+++ b/net-libs/libsoup/files/digest-libsoup-1.99.26-r1
@@ -0,0 +1 @@
+MD5 acb6658fd0dcebd2c5fc8347e0183515 libsoup-1.99.26.tar.bz2 233237
diff --git a/net-libs/libsoup/files/libsoup-1.99.26-msn.patch b/net-libs/libsoup/files/libsoup-1.99.26-msn.patch
new file mode 100644
index 000000000000..976036432b5f
--- /dev/null
+++ b/net-libs/libsoup/files/libsoup-1.99.26-msn.patch
@@ -0,0 +1,21 @@
+diff -uNr usr/src/libsoup-1.99.26/libsoup/soup-transfer.c tmp/libsoup-1.99.26/libsoup/soup-transfer.c
+--- usr/src/libsoup-1.99.26/libsoup/soup-transfer.c 2003-06-23 17:52:34.000000000 +0200
++++ tmp/libsoup-1.99.26/libsoup/soup-transfer.c 2003-10-19 01:51:03.000000000 +0200
+@@ -198,7 +198,7 @@
+ GIOCondition condition,
+ SoupReader *r)
+ {
+- gboolean body_started = r->recv_buf->len > r->header_len;
++ gboolean body_started = r->header_len > 0;
+
+ soup_transfer_read_stop (r);
+
+@@ -380,7 +381,7 @@
+ }
+ }
+
+- return r->content_length == arr->len;
++ return arr->len >= r->content_length;
+ }
+
+ static gboolean