Changeset e67e513 for storage_xml.c


Ignore:
Timestamp:
2011-10-03T14:56:58Z (13 years ago)
Author:
unknown <pesco@…>
Branches:
master
Children:
409c2de
Parents:
3231485
Message:

rename irc_usermsg to irc_rootmsg.
add new irc_usermsg, irc_usernotice.
deliver user-specific messages from libotr as notices to that user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    r3231485 re67e513  
    269269        {
    270270                xd->unknown_tag ++;
    271                 irc_usermsg( irc, "Warning: Unknown XML tag found in configuration file (%s). "
     271                irc_rootmsg( irc, "Warning: Unknown XML tag found in configuration file (%s). "
    272272                                  "This may happen when downgrading BitlBee versions. "
    273273                                  "This tag will be skipped and the information will be lost "
     
    397397                        {
    398398                                if( gerr && irc )
    399                                         irc_usermsg( irc, "Error from XML-parser: %s", gerr->message );
     399                                        irc_rootmsg( irc, "Error from XML-parser: %s", gerr->message );
    400400                               
    401401                                g_clear_error( &gerr );
     
    473473        if( ( fd = mkstemp( path ) ) < 0 )
    474474        {
    475                 irc_usermsg( irc, "Error while opening configuration file." );
     475                irc_rootmsg( irc, "Error while opening configuration file." );
    476476                return STORAGE_OTHER_ERROR;
    477477        }
     
    570570        if( rename( path, path2 ) != 0 )
    571571        {
    572                 irc_usermsg( irc, "Error while renaming temporary configuration file." );
     572                irc_rootmsg( irc, "Error while renaming temporary configuration file." );
    573573               
    574574                g_free( path2 );
     
    585585        g_free( pass_buf );
    586586       
    587         irc_usermsg( irc, "Write error. Disk full?" );
     587        irc_rootmsg( irc, "Write error. Disk full?" );
    588588        close( fd );
    589589       
Note: See TracChangeset for help on using the changeset viewer.