Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    r28eda86 r55078f5  
    395395       
    396396        strcat( path, "~" );
    397         if( ( fd = open( path, O_WRONLY | O_CREAT, 0600 ) ) < 0 )
     397        if( ( fd = open( path, O_WRONLY | O_CREAT | O_TRUNC, 0600 ) ) < 0 )
    398398        {
    399399                irc_usermsg( irc, "Error while opening configuration file." );
Note: See TracChangeset for help on using the changeset viewer.