Changeset 1065dd4 for protocols/jabber


Ignore:
Timestamp:
2015-01-17T20:00:49Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
eb4ad8d
Parents:
bc7a0d4 (diff), 6b13103 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge cleanup changes. (FSF address fix, and using GLib variants of some
functions which cleans up compiler warnings.)

Location:
protocols/jabber
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber_util.c

    rbc7a0d4 r1065dd4  
    321321                        return FALSE;
    322322                }
    323                 if( tolower( jid1[i] ) != tolower( jid2[i] ) )
     323                if( g_ascii_tolower( jid1[i] ) != g_ascii_tolower( jid2[i] ) )
    324324                {
    325325                        return FALSE;
     
    342342           it's Unicode but feck Unicode. :-P So stop once we see a slash. */
    343343        for( i = 0; i < len && orig[i] != '/' ; i ++ )
    344                 new[i] = tolower( orig[i] );
     344                new[i] = g_ascii_tolower( orig[i] );
    345345        for( ; orig[i]; i ++ )
    346346                new[i] = orig[i];
  • protocols/jabber/sasl.c

    rbc7a0d4 r1065dd4  
    187187        len = strlen( field );
    188188       
    189         while( isspace( *data ) || *data == ',' )
     189        while( g_ascii_isspace( *data ) || *data == ',' )
    190190                data ++;
    191191       
     
    210210                        if( data[i] == ',' )
    211211                        {
    212                                 while( isspace( data[i] ) || data[i] == ',' )
     212                                while( g_ascii_isspace( data[i] ) || data[i] == ',' )
    213213                                        i ++;
    214214                               
Note: See TracChangeset for help on using the changeset viewer.