Changeset 75a4b85 for protocols/jabber


Ignore:
Timestamp:
2006-07-14T09:25:48Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
eda0270
Parents:
7e3592e
Message:

Fixed a memory leak, added a check for valid Jabber handles, and updated
documentation (added information about "account set" and sorted the list
of settings because it was a bit too random).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r7e3592e r75a4b85  
    15481548        gc = new_gaim_conn(acc);
    15491549        jd = gc->proto_data = g_new0(struct jabber_data, 1);
     1550       
     1551        if( strchr( acc->user, '@' ) == NULL )
     1552        {
     1553                hide_login_progress( gc, "Invalid account name" );
     1554                signoff( gc );
     1555                return;
     1556        }
    15501557       
    15511558        resource = set_getstr(&acc->set, "resource");
Note: See TracChangeset for help on using the changeset viewer.