summaryrefslogtreecommitdiff
path: root/extra/bitlbee
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-07 12:04:09 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-07 12:04:09 -0300
commitbae3e33d2e446a83c2a1ec40e017a9378fe10ef0 (patch)
tree7ca1b9e71febdb445097556529442c74e59b3746 /extra/bitlbee
parent5a9eef758e9537d6f9913ed487686e8021a77808 (diff)
parent8736f458a17a03cf79a763a0c8122f93162fed71 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/dev86/PKGBUILD community/diacanvas/PKGBUILD community/gnunet-setup/PKGBUILD community/hula/PKGBUILD extra/libgnomecups/PKGBUILD extra/libgnomeprint/PKGBUILD extra/libgnomeprintui/PKGBUILD extra/libmcs/PKGBUILD extra/lv2core/PKGBUILD extra/opencdk/PKGBUILD
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" );