Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    re277e80 raed00f8  
    174174        char *fn, buf[2048];
    175175        int fd, st;
    176         struct xt_parser *xp;
     176        struct xt_parser *xp = NULL;
    177177        struct xt_node *node;
    178178        storage_status_t ret = STORAGE_OTHER_ERROR;
     
    181181        strncpy( xd->given_nick, my_nick, MAX_NICK_LENGTH );
    182182        xd->given_nick[MAX_NICK_LENGTH] = '\0';
    183         nick_lc( NULL, xd->given_nick );
     183        nick_lc( xd->given_nick );
    184184        xd->given_pass = (char*) password;
    185185       
     
    368368       
    369369        path2 = g_strdup( irc->user->nick );
    370         nick_lc( NULL, path2 );
     370        nick_lc( path2 );
    371371        g_snprintf( path, sizeof( path ) - 20, "%s%s%s", global.conf->configdir, path2, ".xml" );
    372372        g_free( path2 );
     
    424424
    425425        lc = g_strdup( nick );
    426         nick_lc( NULL, lc );
     426        nick_lc( lc );
    427427        g_snprintf( s, 511, "%s%s%s", global.conf->configdir, lc, ".xml" );
    428428        g_free( lc );
Note: See TracChangeset for help on using the changeset viewer.