Changeset 12ebe74


Ignore:
Timestamp:
2008-06-09T02:18:15Z (16 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
1bf9492
Parents:
c4a1036
Message:

Deal with changes in configuration struct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • win32.c

    rc4a1036 r12ebe74  
    200200        conf = g_new0( conf_t,1 );
    201201        global.conf = conf;
    202         conf_get_string(key_main, "interface", "0.0.0.0", &global.conf->iface);
     202        conf_get_string(key_main, "interface_in", "0.0.0.0", &global.conf->iface_in);
     203        conf_get_string(key_main, "interface_out", "0.0.0.0", &global.conf->iface_out);
    203204        conf_get_string(key_main, "port", "6667", &global.conf->port);
    204205        conf_get_int(key_main, "verbose", 0, &global.conf->verbose);
     
    211212        conf_get_string(key_main, "helpfile", NULL, &global.helpfile);
    212213        global.conf->runmode = RUNMODE_DAEMON;
    213         conf_get_int(key_main, "AuthMode", AUTHMODE_OPEN, &global.conf->authmode);
     214        conf_get_int(key_main, "AuthMode", AUTHMODE_OPEN, (int *)&global.conf->authmode);
    214215        conf_get_string(key_proxy, "host", "", &tmp); strcpy(proxyhost, tmp);
    215216        conf_get_string(key_proxy, "user", "", &tmp); strcpy(proxyuser, tmp);
Note: See TracChangeset for help on using the changeset viewer.