Changeset 00ab350 for conf.c


Ignore:
Timestamp:
2006-06-21T17:14:49Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
812a413
Parents:
2b14eef
Message:

Fixed GError memory leak, correctly setting the migrate_storage default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    r2b14eef r00ab350  
    4242conf_t *conf_load( int argc, char *argv[] )
    4343{
    44         char *mig_list[2] = { "text", NULL };
    4544        conf_t *conf;
    4645        int opt, i;
     
    5756        conf->verbose = 0;
    5857        conf->primary_storage = "xml";
    59         conf->migrate_storage = mig_list;
     58        conf->migrate_storage = g_strsplit( "text", ",", -1 );
    6059        conf->runmode = RUNMODE_INETD;
    6160        conf->authmode = AUTHMODE_OPEN;
Note: See TracChangeset for help on using the changeset viewer.