aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--root_commands.c2
-rw-r--r--storage_xml.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/root_commands.c b/root_commands.c
index d263bb84..e69b9981 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -138,7 +138,7 @@ static void cmd_identify( irc_t *irc, char **cmd )
irc_usermsg( irc, "The nick is (probably) not registered" );
break;
case STORAGE_OK:
- irc_usermsg( irc, "Password accepted" );
+ irc_usermsg( irc, "Password accepted, settings and accounts loaded" );
irc_umode_set( irc, "+R", 1 );
break;
case STORAGE_OTHER_ERROR:
diff --git a/storage_xml.c b/storage_xml.c
index 0bbcd99a..7d72c781 100644
--- a/storage_xml.c
+++ b/storage_xml.c
@@ -130,7 +130,7 @@ static void xml_start_element( GMarkupParseContext *ctx, const gchar *element_na
}
else if( g_strcasecmp( element_name, "account" ) == 0 )
{
- char *protocol, *handle, *server, *password, *autoconnect;
+ char *protocol, *handle, *server, *password = NULL, *autoconnect;
char *pass_b64 = NULL, *pass_rc4 = NULL;
int pass_len;
struct prpl *prpl = NULL;