Changeset 178e2f8 for storage_xml.c
- Timestamp:
- 2008-06-28T17:32:41Z (16 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage_xml.c
r2e0f24d r178e2f8 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.