[Pidgin] #8198: Pidgin client blocked by AOL (ICQ)

Pidgin trac at pidgin.im
Thu Jan 22 13:54:26 EST 2009


#8198: Pidgin client blocked by AOL (ICQ)
--------------------+-------------------------------------------------------
 Reporter:  init    |        Owner:  MarkDoliner
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  ICQ        
  Version:  2.5.4   |   Resolution:             
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by paulus):

 I suggest this one better.

 {{{
 --- libpurple/protocols/oscar/flap_connection.c 2009-01-22
 21:52:33.000000000 +0300
 +++ libpurple/protocols/oscar/flap_connection.c.new     2009-01-22
 21:51:02.000000000 +0300
 @@ -318,4 +318,6 @@
         FlapConnection *conn;

 +    static const guint FlapLoginSeqs[] = { 5695,   23595,  23620, 23049,
 0x2886, 0x2493, 23620, 23049, 2853,   17372,  1255,  1796, 1657,   13606,
 1930,  23918, 31234,  30120,  0x1BEA,0x5342, 0x30CC, 0x2294,
 0x5697,0x25FA, 0x3C26, 0x3303, 0x078A, 0x0FC5, 0x25D6, 0x26EE,0x7570,
 0x7F33, 0x4E94, 0x07C9, 0x7339, 0x42A8 };
 +
         conn = g_new0(FlapConnection, 1);
         conn->od = od;
 @@ -325,4 +327,8 @@
         conn->type = type;

 +    srand (time (NULL));
 +    conn->seqnum_out = FlapLoginSeqs[randrange(0, (sizeof  FlapLoginSeqs)
 / (sizeof  FlapLoginSeqs[0]))] - 1;
 +
 +
         od->oscar_connections = g_slist_prepend(od->oscar_connections,
 conn);
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8198#comment:70>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list