Changes in storage_xml.c [e277e80:aed00f8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage_xml.c
re277e80 raed00f8 174 174 char *fn, buf[2048]; 175 175 int fd, st; 176 struct xt_parser *xp ;176 struct xt_parser *xp = NULL; 177 177 struct xt_node *node; 178 178 storage_status_t ret = STORAGE_OTHER_ERROR; … … 181 181 strncpy( xd->given_nick, my_nick, MAX_NICK_LENGTH ); 182 182 xd->given_nick[MAX_NICK_LENGTH] = '\0'; 183 nick_lc( NULL,xd->given_nick );183 nick_lc( xd->given_nick ); 184 184 xd->given_pass = (char*) password; 185 185 … … 368 368 369 369 path2 = g_strdup( irc->user->nick ); 370 nick_lc( NULL,path2 );370 nick_lc( path2 ); 371 371 g_snprintf( path, sizeof( path ) - 20, "%s%s%s", global.conf->configdir, path2, ".xml" ); 372 372 g_free( path2 ); … … 424 424 425 425 lc = g_strdup( nick ); 426 nick_lc( NULL,lc );426 nick_lc( lc ); 427 427 g_snprintf( s, 511, "%s%s%s", global.conf->configdir, lc, ".xml" ); 428 428 g_free( lc );
Note: See TracChangeset
for help on using the changeset viewer.