Changeset 43462708


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

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • configure

    r46dca11 r43462708  
    454454
    455455if [ "$protocols" = "PROTOCOLS = " ]; then
    456         echo "WARNING: You haven't selected any communication protocol to compile!"
     456        echo "Warning: You haven't selected any communication protocol to compile!"
    457457        echo "         BitlBee will run, but you will be unable to connect to IM servers!"
    458458fi
  • irc.c

    r46dca11 r43462708  
    326326                                {
    327327                                        if( irc->status & USTATUS_LOGGED_IN )
    328                                                 irc_usermsg( irc, "ERROR: Charset mismatch detected. The charset "
     328                                                irc_usermsg( irc, "Error: Charset mismatch detected. The charset "
    329329                                                                  "setting is currently set to %s, so please make "
    330330                                                                  "sure your IRC client will send and accept text in "
  • nick.c

    r46dca11 r43462708  
    111111                        int i;
    112112                       
    113                         irc_usermsg( acc->irc, "WARNING: Almost had an infinite loop in nick_get()! "
     113                        irc_usermsg( acc->irc, "Warning: Almost had an infinite loop in nick_get()! "
    114114                                               "This used to be a fatal BitlBee bug, but we tried to fix it. "
    115115                                               "This message should *never* appear anymore. "
  • 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                }
  • protocols/msn/msn_util.c

    r46dca11 r43462708  
    352352        m = l->data;
    353353        ret = g_string_sized_new( 1024 );
    354         g_string_printf( ret, "WARNING: Cleaning up MSN (switchboard) connection with unsent "
     354        g_string_printf( ret, "Warning: Cleaning up MSN (switchboard) connection with unsent "
    355355                              "messages to %s:", m->who ? m->who : "unknown recipient" );
    356356       
  • protocols/oscar/service.c

    r46dca11 r43462708  
    894894*/
    895895                } else
    896                         imcb_error(sess->aux_data, "WARNING: unknown hash request");
     896                        imcb_error(sess->aux_data, "Warning: unknown hash request");
    897897
    898898        }
  • protocols/oscar/txqueue.c

    r46dca11 r43462708  
    8080
    8181        if (!fr->conn) {
    82                 imcb_error(sess->aux_data, "WARNING: enqueueing packet with no connection");
     82                imcb_error(sess->aux_data, "Warning: enqueueing packet with no connection");
    8383                fr->conn = aim_getconn_type(sess, AIM_CONN_TYPE_BOS);
    8484        }
Note: See TracChangeset for help on using the changeset viewer.