Ignore:
Timestamp:
2006-10-12T17:48:58Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a4effbf
Parents:
b56b220
Message:

Special message when the XMPP session is ended because of a concurrent
login, and now sending proper error responses to IQ packets we can't
handle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/io.c

    rb56b220 r259edd4  
    465465           infinite loop! */
    466466        if( strcmp( type, "conflict" ) == 0 )
     467        {
     468                hide_login_progress( gc, "Account and resource used from a different location" );
    467469                gc->wants_to_die = TRUE;
    468        
    469         s = g_strdup_printf( "Stream error: %s%s%s", type, text ? ": " : "", text ? text : "" );
    470         hide_login_progress_error( gc, s );
    471         g_free( s );
     470        }
     471        else
     472        {
     473                s = g_strdup_printf( "Stream error: %s%s%s", type, text ? ": " : "", text ? text : "" );
     474                hide_login_progress_error( gc, s );
     475                g_free( s );
     476        }
     477       
    472478        signoff( gc );
    473479       
Note: See TracChangeset for help on using the changeset viewer.