aboutsummaryrefslogtreecommitdiffstats
path: root/storage_xml.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-02-11 12:35:01 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-02-11 12:35:01 +0000
commiteeb85a8a880fefe655eb31b6322136b61ee969e2 (patch)
treebab4cd9e7702b50d9355d50f4f90489007925876 /storage_xml.c
parent3038e476a93b2be057581b831749eac931a06559 (diff)
Got rid of some noise at startup: complaining when the default configuration
file couldn't be found while the user specified an alternative location with the -c option, and double complaints about /var/lib/bitlbee/ permissions.
Diffstat (limited to 'storage_xml.c')
-rw-r--r--storage_xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage_xml.c b/storage_xml.c
index 4c372cde..19070a74 100644
--- a/storage_xml.c
+++ b/storage_xml.c
@@ -262,9 +262,9 @@ GMarkupParser xml_parser =
static void xml_init( void )
{
if( access( global.conf->configdir, F_OK ) != 0 )
- log_message( LOGLVL_WARNING, "The configuration directory %s does not exist. Configuration won't be saved.", global.conf->configdir );
+ log_message( LOGLVL_WARNING, "The configuration directory `%s' does not exist. Configuration won't be saved.", global.conf->configdir );
else if( access( global.conf->configdir, R_OK ) != 0 || access( global.conf->configdir, W_OK ) != 0 )
- log_message( LOGLVL_WARNING, "Permission problem: Can't read/write from/to %s.", global.conf->configdir );
+ log_message( LOGLVL_WARNING, "Permission problem: Can't read/write from/to `%s'.", global.conf->configdir );
}
static storage_status_t xml_load_real( const char *my_nick, const char *password, irc_t *irc, xml_pass_st action )