Changes in storage_xml.c [e0f9170:5f5d433]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage_xml.c
re0f9170 r5f5d433 481 481 static storage_status_t xml_remove( const char *nick, const char *password ) 482 482 { 483 char s[512] , *lc;483 char s[512]; 484 484 storage_status_t status; 485 485 … … 488 488 return status; 489 489 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" ); 495 491 if( unlink( s ) == -1 ) 496 492 return STORAGE_OTHER_ERROR;
Note: See TracChangeset
for help on using the changeset viewer.