Changeset 1ee6c18 for conf.c


Ignore:
Timestamp:
2005-12-08T13:41:53Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
a1f17d4
Parents:
d636233
Message:

Add abstraction layer for storage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    rd636233 r1ee6c18  
    5050        conf->nofork = 0;
    5151        conf->verbose = 0;
     52        conf->storage = "text";
    5253        conf->runmode = RUNMODE_INETD;
    5354        conf->authmode = AUTHMODE_OPEN;
     
    198199                                conf->motdfile = g_strdup( ini->value );
    199200                        }
     201                        else if( g_strcasecmp( ini->key, "storage" ) == 0 )
     202                        {
     203                                g_free( conf->storage );
     204                                conf->storage = g_strdup( ini->value );
     205                        }
    200206                        else if( g_strcasecmp( ini->key, "pinginterval" ) == 0 )
    201207                        {
Note: See TracChangeset for help on using the changeset viewer.