Changeset 1a2c1c0 for storage_xml.c


Ignore:
Timestamp:
2013-06-16T12:42:39Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2f9027c
Parents:
ab19567 (diff), 5cb9461 (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:

Merging utf8-nicks branch. This adds a utf8_nicks setting which removes the
ASCII restriction on contact nicknames. Use at your own risk!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    rab19567 r1a2c1c0  
    181181        strncpy( xd->given_nick, my_nick, MAX_NICK_LENGTH );
    182182        xd->given_nick[MAX_NICK_LENGTH] = '\0';
    183         nick_lc( xd->given_nick );
     183        nick_lc( NULL, xd->given_nick );
    184184        xd->given_pass = (char*) password;
    185185       
     
    368368       
    369369        path2 = g_strdup( irc->user->nick );
    370         nick_lc( path2 );
     370        nick_lc( NULL, path2 );
    371371        g_snprintf( path, sizeof( path ) - 20, "%s%s%s", global.conf->configdir, path2, ".xml" );
    372372        g_free( path2 );
     
    424424
    425425        lc = g_strdup( nick );
    426         nick_lc( lc );
     426        nick_lc( NULL, lc );
    427427        g_snprintf( s, 511, "%s%s%s", global.conf->configdir, lc, ".xml" );
    428428        g_free( lc );
Note: See TracChangeset for help on using the changeset viewer.