summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-06-14 20:48:03 +0000
committerTim Harder <radhermit@gentoo.org>2012-06-14 20:48:03 +0000
commitb8b631e6a2a0a48471a93016778c605cc1b58164 (patch)
treea17e7cffbff0e73af89726396b1dc4fd3dd57ede /net-im/bitlbee/files
parentppc stable (bug 409213) (diff)
downloadgentoo-2-b8b631e6a2a0a48471a93016778c605cc1b58164.tar.gz
gentoo-2-b8b631e6a2a0a48471a93016778c605cc1b58164.tar.bz2
gentoo-2-b8b631e6a2a0a48471a93016778c605cc1b58164.zip
Remove old.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'net-im/bitlbee/files')
-rw-r--r--net-im/bitlbee/files/bitlbee-3.0.3-msn-login-fix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/net-im/bitlbee/files/bitlbee-3.0.3-msn-login-fix.patch b/net-im/bitlbee/files/bitlbee-3.0.3-msn-login-fix.patch
deleted file mode 100644
index 1fcc8bde6795..000000000000
--- a/net-im/bitlbee/files/bitlbee-3.0.3-msn-login-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-fix for msn login failures
-
-http://bugs.bitlbee.org/bitlbee/changeset/devel,824
---- lib/http_client.c.old
-+++ lib/http_client.c
-@@ -313,7 +313,7 @@
- req->status_code = -1;
- }
-
-- if( ( req->status_code == 301 || req->status_code == 302 ) && req->redir_ttl-- > 0 )
-+ if( ( req->status_code >= 301 && req->status_code <= 303 ) && req->redir_ttl-- > 0 )
- {
- char *loc, *new_request, *new_host;
- int error = 0, new_port, new_proto;
-@@ -374,10 +374,13 @@
- /* So, now I just allocated enough memory, so I'm
- going to use strcat(), whether you like it or not. :-) */
-
-- sprintf( new_request, "GET %s HTTP/1.0", url->file );
-+ s = 0;
-+ sprintf( new_request, "%s %s HTTP/1.0\r\nHost: %s",
-+ req->status_code == 303 || req->request[0] == 'G' ? "GET" : "POST", url->file, url->host );
-+ s = ' ';
-
-- s = strstr( req->request, "\r\n" );
-- if( s == NULL )
-+ if( !( ( s = strstr( req->request, "\r\nHost: " ) ) &&
-+ ( s = strstr( s + strlen( "\r\nHost: " ), "\r\n" ) ) ) )
- {
- req->status_string = g_strdup( "Error while rebuilding request string" );
- g_free( new_request );