Changes in storage_xml.c [1783ab6:aed00f8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage_xml.c
r1783ab6 raed00f8 87 87 char *pass_b64 = NULL; 88 88 unsigned char *pass_cr = NULL; 89 int pass_len , local = 0;89 int pass_len; 90 90 struct prpl *prpl = NULL; 91 91 account_t *acc; … … 100 100 protocol = xt_find_attr( node, "protocol" ); 101 101 if( protocol ) 102 {103 102 prpl = find_protocol( protocol ); 104 local = protocol_account_islocal( protocol );105 }106 103 107 104 if( !handle || !pass_b64 || !protocol || !prpl ) … … 117 114 if( tag ) 118 115 set_setstr( &acc->set, "tag", tag ); 119 if( local )120 acc->flags |= ACC_FLAG_LOCAL;121 116 } 122 117 else … … 186 181 strncpy( xd->given_nick, my_nick, MAX_NICK_LENGTH ); 187 182 xd->given_nick[MAX_NICK_LENGTH] = '\0'; 188 nick_lc( NULL,xd->given_nick );183 nick_lc( xd->given_nick ); 189 184 xd->given_pass = (char*) password; 190 185 … … 373 368 374 369 path2 = g_strdup( irc->user->nick ); 375 nick_lc( NULL,path2 );370 nick_lc( path2 ); 376 371 g_snprintf( path, sizeof( path ) - 20, "%s%s%s", global.conf->configdir, path2, ".xml" ); 377 372 g_free( path2 ); … … 429 424 430 425 lc = g_strdup( nick ); 431 nick_lc( NULL,lc );426 nick_lc( lc ); 432 427 g_snprintf( s, 511, "%s%s%s", global.conf->configdir, lc, ".xml" ); 433 428 g_free( lc );
Note: See TracChangeset
for help on using the changeset viewer.