Changeset 43462708 for protocols/jabber


Ignore:
Timestamp:
2008-01-06T12:37:55Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
181e47a, fc82be6
Parents:
46dca11
Message:

More consistency in error/warning errors. Until now "WARNING:" was usually
in upper case while "Error:" wasn't .... that doesn't really make sense.

Location:
protocols/jabber
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/iq.c

    r46dca11 r43462708  
    5454                    !( s = xt_find_attr( c, "xmlns" ) ) )
    5555                {
    56                         imcb_log( ic, "WARNING: Received incomplete IQ-%s packet", type );
     56                        imcb_log( ic, "Warning: Received incomplete IQ-%s packet", type );
    5757                        return XT_HANDLED;
    5858                }
     
    125125                    !( s = xt_find_attr( c, "xmlns" ) ) )
    126126                {
    127                         imcb_log( ic, "WARNING: Received incomplete IQ-%s packet", type );
     127                        imcb_log( ic, "Warning: Received incomplete IQ-%s packet", type );
    128128                        return XT_HANDLED;
    129129                }
     
    147147                        else
    148148                        {
    149                                 imcb_log( ic, "WARNING: %s tried to fake a roster push!", s ? s : "(unknown)" );
     149                                imcb_log( ic, "Warning: %s tried to fake a roster push!", s ? s : "(unknown)" );
    150150                               
    151151                                xt_free_node( reply );
     
    212212        if( !( query = xt_find_node( node->children, "query" ) ) )
    213213        {
    214                 imcb_log( ic, "WARNING: Received incomplete IQ packet while authenticating" );
     214                imcb_log( ic, "Warning: Received incomplete IQ packet while authenticating" );
    215215                imc_logout( ic, FALSE );
    216216                return XT_HANDLED;
     
    270270        if( !( type = xt_find_attr( node, "type" ) ) )
    271271        {
    272                 imcb_log( ic, "WARNING: Received incomplete IQ packet while authenticating" );
     272                imcb_log( ic, "Warning: Received incomplete IQ packet while authenticating" );
    273273                imc_logout( ic, FALSE );
    274274                return XT_HANDLED;
     
    346346        if( !( query = xt_find_node( node->children, "query" ) ) )
    347347        {
    348                 imcb_log( ic, "WARNING: Received NULL roster packet" );
     348                imcb_log( ic, "Warning: Received NULL roster packet" );
    349349                return XT_HANDLED;
    350350        }
  • protocols/jabber/jabber_util.c

    r46dca11 r43462708  
    200200        if( entry == NULL )
    201201        {
    202                 imcb_log( ic, "WARNING: Received %s-%s packet with unknown/expired ID %s!",
     202                imcb_log( ic, "Warning: Received %s-%s packet with unknown/expired ID %s!",
    203203                              node->name, xt_find_attr( node, "type" ) ? : "(no type)", s );
    204204        }
  • protocols/jabber/presence.c

    r46dca11 r43462708  
    5050                {
    5151                        if( set_getbool( &ic->irc->set, "debug" ) )
    52                                 imcb_log( ic, "WARNING: Could not handle presence information from JID: %s", from );
     52                                imcb_log( ic, "Warning: Could not handle presence information from JID: %s", from );
    5353                        return XT_HANDLED;
    5454                }
     
    9191                {
    9292                        if( set_getbool( &ic->irc->set, "debug" ) )
    93                                 imcb_log( ic, "WARNING: Received presence information from unknown JID: %s", from );
     93                                imcb_log( ic, "Warning: Received presence information from unknown JID: %s", from );
    9494                        return XT_HANDLED;
    9595                }
Note: See TracChangeset for help on using the changeset viewer.