Changeset 00ab350
- Timestamp:
- 2006-06-21T17:14:49Z (18 years ago)
- Branches:
- master
- Children:
- 812a413
- Parents:
- 2b14eef
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
conf.c
r2b14eef r00ab350 42 42 conf_t *conf_load( int argc, char *argv[] ) 43 43 { 44 char *mig_list[2] = { "text", NULL };45 44 conf_t *conf; 46 45 int opt, i; … … 57 56 conf->verbose = 0; 58 57 conf->primary_storage = "xml"; 59 conf->migrate_storage = mig_list;58 conf->migrate_storage = g_strsplit( "text", ",", -1 ); 60 59 conf->runmode = RUNMODE_INETD; 61 60 conf->authmode = AUTHMODE_OPEN; -
storage_xml.c
r2b14eef r00ab350 288 288 /* Slightly dirty... */ 289 289 if( gerr && strcmp( gerr->message, XML_PASS_ERRORMSG ) == 0 ) 290 { 291 g_clear_error( &gerr ); 290 292 return STORAGE_INVALID_PASSWORD; 293 } 291 294 else 292 295 { … … 294 297 irc_usermsg( irc, "Error from XML-parser: %s", gerr->message ); 295 298 299 g_clear_error( &gerr ); 296 300 return STORAGE_OTHER_ERROR; 297 301 } 298 302 } 299 303 } 304 /* Just to be sure... */ 305 g_clear_error( &gerr ); 300 306 301 307 g_markup_parse_context_free( ctx );
Note: See TracChangeset
for help on using the changeset viewer.