close Warning: Failed to sync with repository "(default)": [Errno 12] Cannot allocate memory; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.

Ticket #111: jabber-away.diff

File jabber-away.diff, 682 bytes (added by frank@…, at 2006-03-05T23:14:45Z)
  • protocols/jabber/jabber.c

    diff -ur bitlbee-20060305/protocols/jabber/jabber.c bitlbee-new/protocols/jabber/jabber.c
    old new  
    12311231                x = xmlnode_get_nextsibling(x);
    12321232        }
    12331233
    1234         x = jutil_presnew(0, NULL, "Online");
    1235         gjab_send(gjc, x);
    1236         xmlnode_free(x);
     1234    account_online(GJ_GC(gjc));
    12371235}
    12381236
    12391237static void jabber_handleauthresp(gjconn gjc, jpacket p)
     
    12491247                        gjab_auth(gjc);
    12501248                } else {
    12511249                        gjab_reqroster(gjc);
    1252                         account_online(GJ_GC(gjc));
    12531250                       
    12541251                        ((struct jabber_data *)GJ_GC(gjc)->proto_data)->did_import = TRUE;
    12551252                }