Changeset 7e3592e for storage_xml.c


Ignore:
Timestamp:
2006-07-05T18:34:31Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
75a4b85
Parents:
5b52a48
Message:

Fixed text_load(), added detection of primary storage backends without
save support (which shouldn't be allowed) and added a call to nick_lc()
to xml_save() so at least nicks should now be case-insensitive.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    r5b52a48 r7e3592e  
    382382        }
    383383       
    384         g_snprintf( path, sizeof( path ) - 2, "%s%s%s", global.conf->configdir, irc->nick, ".xml" );
     384        path2 = g_strdup( irc->nick );
     385        nick_lc( path2 );
     386        g_snprintf( path, sizeof( path ) - 2, "%s%s%s", global.conf->configdir, path2, ".xml" );
     387        g_free( path2 );
    385388       
    386389        if( !overwrite && access( path, F_OK ) != -1 )
Note: See TracChangeset for help on using the changeset viewer.