aboutsummaryrefslogtreecommitdiffstats
path: root/storage_xml.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2013-04-20 23:50:31 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2013-04-20 23:50:31 +0100
commite277e80022e9cad3f7a3dbadbc25a6a2da9bf40d (patch)
treed5b01e4edfecc2f002d2de1b89bbef37d4e47694 /storage_xml.c
parentdd95ce431b5c85eb6d74e501a7796e8a6016ec70 (diff)
Add irc_t* argument to all relevant nick_*() functions.
Diffstat (limited to 'storage_xml.c')
-rw-r--r--storage_xml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage_xml.c b/storage_xml.c
index 1f2d4a51..3ee8ae1d 100644
--- a/storage_xml.c
+++ b/storage_xml.c
@@ -180,7 +180,7 @@ static storage_status_t xml_load_real( irc_t *irc, const char *my_nick, const ch
xd->irc = irc;
strncpy( xd->given_nick, my_nick, MAX_NICK_LENGTH );
xd->given_nick[MAX_NICK_LENGTH] = '\0';
- nick_lc( xd->given_nick );
+ nick_lc( NULL, xd->given_nick );
xd->given_pass = (char*) password;
fn = g_strconcat( global.conf->configdir, xd->given_nick, ".xml", NULL );
@@ -367,7 +367,7 @@ static storage_status_t xml_save( irc_t *irc, int overwrite )
int fd;
path2 = g_strdup( irc->user->nick );
- nick_lc( path2 );
+ nick_lc( NULL, path2 );
g_snprintf( path, sizeof( path ) - 20, "%s%s%s", global.conf->configdir, path2, ".xml" );
g_free( path2 );
@@ -423,7 +423,7 @@ static storage_status_t xml_remove( const char *nick, const char *password )
return status;
lc = g_strdup( nick );
- nick_lc( lc );
+ nick_lc( NULL, lc );
g_snprintf( s, 511, "%s%s%s", global.conf->configdir, lc, ".xml" );
g_free( lc );