summaryrefslogtreecommitdiff
path: root/extra/bitlbee
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-07 15:02:31 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-07 15:02:31 +0000
commit8736f458a17a03cf79a763a0c8122f93162fed71 (patch)
treefba97f22de8410ee5df8985e6c98756093578100 /extra/bitlbee
parentd1d87d2ac643e3dabc251f3cec7d3b00e29b282c (diff)
Wed Dec 7 15:02:27 UTC 2011
Diffstat (limited to 'extra/bitlbee')
-rw-r--r--extra/bitlbee/msn.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/extra/bitlbee/msn.patch b/extra/bitlbee/msn.patch
deleted file mode 100644
index 55e2f9b92..000000000
--- a/extra/bitlbee/msn.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: devel/lib/http_client.c
-===================================================================
---- devel/lib/http_client.c (revision devel,783)
-+++ devel/lib/http_client.c (revision devel,824)
-@@ -314,5 +314,5 @@
- }
-
-- 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;
-@@ -375,8 +375,11 @@
- going to use strcat(), whether you like it or not. :-) */
-
-- sprintf( new_request, "GET %s HTTP/1.0", url->file );
--
-- s = strstr( req->request, "\r\n" );
-- if( s == NULL )
-+ *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 = ' ';
-+
-+ 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" );