aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-10-19 22:59:57 -0400
committerWilmer van der Gaast <wilmer@gaast.net>2011-10-19 22:59:57 -0400
commit32bea82d26872395634862204f551644233454ae (patch)
treefa48fc6920156dbe515d1f3bb95a1a41bbdeaa6f
parentc1487019c50fa6ce034523c75150d87955f9a6f2 (diff)
changeset:devel,814 was silly and incomplete. This should fix that. Full
workaround for Twitter "hang" problem.
-rw-r--r--protocols/twitter/twitter_lib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c
index dd9c3ac6..00e3a2ee 100644
--- a/protocols/twitter/twitter_lib.c
+++ b/protocols/twitter/twitter_lib.c
@@ -734,6 +734,10 @@ void twitter_get_timeline(struct im_connection *ic, gint64 next_cursor)
}
if (td->flags & TWITTER_DOING_TIMELINE) {
+ /* This shouldn't normally happen at all but I'm currently hunting a bug
+ where it does. Instead of having users suffer under it, have a work-
+ around with a warning. */
+ td->flags |= TWITTER_DOING_TIMELINE_SLOW;
return;
}