Changeset 178e2f8 for storage_xml.c


Ignore:
Timestamp:
2008-06-28T17:32:41Z (16 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
47b571d
Parents:
2e0f24d (diff), e0f9170 (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 trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    r2e0f24d r178e2f8  
    481481static storage_status_t xml_remove( const char *nick, const char *password )
    482482{
    483         char s[512];
     483        char s[512], *lc;
    484484        storage_status_t status;
    485485
     
    488488                return status;
    489489
    490         g_snprintf( s, 511, "%s%s%s", global.conf->configdir, nick, ".xml" );
     490        lc = g_strdup( nick );
     491        nick_lc( lc );
     492        g_snprintf( s, 511, "%s%s%s", global.conf->configdir, lc, ".xml" );
     493        g_free( lc );
     494       
    491495        if( unlink( s ) == -1 )
    492496                return STORAGE_OTHER_ERROR;
Note: See TracChangeset for help on using the changeset viewer.