Changeset e0f9170
- Timestamp:
- 2008-06-26T23:18:31Z (16 years ago)
- Branches:
- master
- Children:
- 178e2f8, 565a1ea
- Parents:
- d048ffc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage_xml.c
rd048ffc re0f9170 481 481 static storage_status_t xml_remove( const char *nick, const char *password ) 482 482 { 483 char s[512] ;483 char s[512], *lc; 484 484 storage_status_t status; 485 485 … … 488 488 return status; 489 489 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 491 495 if( unlink( s ) == -1 ) 492 496 return STORAGE_OTHER_ERROR;
Note: See TracChangeset
for help on using the changeset viewer.