aboutsummaryrefslogtreecommitdiff
path: root/src/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inetd.c')
-rw-r--r--src/inetd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/inetd.c b/src/inetd.c
index 3eb4470..ee16078 100644
--- a/src/inetd.c
+++ b/src/inetd.c
@@ -281,7 +281,7 @@ inetd_conf_file (const char *file)
if (ISCF_TCPMUX (comp->flags))
comp->tcpmux = mktag (address, "tcpmux");
comp->service = grecs_strdup (service);
- comp->privs.user = grecs_strdup (user); /* FIXME: memory leak */
+ comp->privs.user = grecs_strdup (user);
if (group)
{
comp->privs.groups = grecs_list_create ();
@@ -306,9 +306,6 @@ inetd_conf_file (const char *file)
comp->argv = grecs_calloc (comp->argc + 1, sizeof (comp->argv[0]));
comp->argv[0] = grecs_strdup (comp->program);
}
-
- if (progman_lookup_component (comp->tag) == NULL)
- register_prog (comp);
}
if (wsflags & WRDSF_REUSE)
@@ -380,7 +377,7 @@ inetd_conf_dir (const char *name)
}
int
-inetd_parse_conf (const char *file)
+inetd_config_parse (const char *file)
{
struct stat st;

Return to:

Send suggestions and report system problems to the System administrator.