aboutsummaryrefslogtreecommitdiffstats
path: root/main/bitlbee
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2012-02-08 04:13:54 -0500
committerKiyoshi Aman <aphrael@alpinelinux.org>2012-02-08 04:13:54 -0500
commit24424825c9ea4244c5227717341556cb8c011998 (patch)
tree3e36030e533e5e72f7517c934c2cdd7f8206932a /main/bitlbee
parent9537fd410e72bbde9efd39074bbd1e2f6777bc39 (diff)
downloadaports-24424825c9ea4244c5227717341556cb8c011998.tar.bz2
aports-24424825c9ea4244c5227717341556cb8c011998.tar.xz
main/bitlbee: Forgot the actual patch. Whoops.
Diffstat (limited to 'main/bitlbee')
-rw-r--r--main/bitlbee/01-twitter.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/bitlbee/01-twitter.patch b/main/bitlbee/01-twitter.patch
new file mode 100644
index 0000000000..3e8a22ed0f
--- /dev/null
+++ b/main/bitlbee/01-twitter.patch
@@ -0,0 +1,26 @@
+=== modified file 'protocols/twitter/twitter_lib.c'
+--- protocols/twitter/twitter_lib.c 2011-12-26 18:17:51 +0000
++++ protocols/twitter/twitter_lib.c 2012-01-10 23:36:29 +0000
+@@ -886,10 +886,6 @@
+ td->http_fails = 0;
+ if (!(ic->flags & OPT_LOGGED_IN))
+ imcb_connected(ic);
+- } else if (req->status_code == 401) {
+- imcb_error(ic, "Authentication failure");
+- imc_logout(ic, FALSE);
+- goto end;
+ } else {
+ // It didn't go well, output the error and return.
+ if (++td->http_fails >= 5)
+@@ -938,10 +934,6 @@
+ td->http_fails = 0;
+ if (!(ic->flags & OPT_LOGGED_IN))
+ imcb_connected(ic);
+- } else if (req->status_code == 401) {
+- imcb_error(ic, "Authentication failure");
+- imc_logout(ic, FALSE);
+- goto end;
+ } else {
+ // It didn't go well, output the error and return.
+ if (++td->http_fails >= 5)
+