This commit is contained in:
stskeeps 2000-12-25 19:59:21 +00:00
parent 5e009543c0
commit 8a526e56ef

View file

@ -652,7 +652,6 @@ int _conf_admin(ConfigFile *conf, ConfigEntry *ce)
continue;
}
ca = MyMallocEx(sizeof(ConfigItem_admin));
ca->flags = CNF_ADMIN;
ca->line = strdup(cep->ce_varname);
add_ConfigItem((ConfigItem *)ca, (ConfigItem **) &conf_admin);
}
@ -697,7 +696,6 @@ int _conf_class(ConfigFile *conf, ConfigEntry *ce)
}
class = (ConfigItem_class *) MyMallocEx(sizeof(ConfigItem_class));
class->name = strdup(ce->ce_vardata);
class->flags = CNF_CLASS;
for (cep = ce->ce_entries; cep; cep = cep->ce_next)
{
if (!cep->ce_varname)
@ -753,7 +751,6 @@ int _conf_me(ConfigFile *conf, ConfigEntry *ce)
if (!conf_me)
{
conf_me = (ConfigItem_me *) MyMallocEx(sizeof(ConfigItem_me));
conf_me->flags = CNF_ME;
}
for (cep = ce->ce_entries; cep; cep = cep->ce_next)
{