Changeset 0e35ff6


Ignore:
Timestamp:
2014-10-11T02:20:53Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
7b40f17
Parents:
c27a923
Message:

Handle not-authorized stream errors, avoid reconnect

Got this one while trying to connect to google servers with hipchat auth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/io.c

    rc27a923 r0e35ff6  
    506506                allow_reconnect = FALSE;
    507507        }
     508        else if( strcmp( err->code, "not-authorized" ) == 0 )
     509        {
     510                imcb_error( ic, "Not authorized" );
     511                allow_reconnect = FALSE;
     512        }
    508513        else
    509514        {
Note: See TracChangeset for help on using the changeset viewer.