Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    re0f9170 r5f5d433  
    481481static storage_status_t xml_remove( const char *nick, const char *password )
    482482{
    483         char s[512], *lc;
     483        char s[512];
    484484        storage_status_t status;
    485485
     
    488488                return status;
    489489
    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        
     490        g_snprintf( s, 511, "%s%s%s", global.conf->configdir, nick, ".xml" );
    495491        if( unlink( s ) == -1 )
    496492                return STORAGE_OTHER_ERROR;
Note: See TracChangeset for help on using the changeset viewer.