Ignore:
Timestamp:
2008-01-06T12:37:55Z (15 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.

File:
1 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        }
Note: See TracChangeset for help on using the changeset viewer.