aboutsummaryrefslogtreecommitdiff
path: root/src/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inetd.c')
-rw-r--r--src/inetd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inetd.c b/src/inetd.c
index ac40a5a..270425d 100644
--- a/src/inetd.c
+++ b/src/inetd.c
@@ -60,7 +60,7 @@ inetd_conf_file (const char *file)
struct component *comp;
int socket_type;
struct pies_url *url;
- size_t max_instances = 0;
+ size_t max_rate = 0;
int flags = 0;
char *str;
char *user = NULL;
@@ -161,7 +161,7 @@ inetd_conf_file (const char *file)
logmsg (LOG_WARNING, "%s:%lu: invalid number (near %s)",
file, line_no, p);
else
- max_instances = n;
+ max_rate = n;
}
if (strcmp (ws.ws_wordv[IFLD_WAIT], "wait") == 0)
@@ -199,7 +199,7 @@ inetd_conf_file (const char *file)
comp->mode = pies_comp_inetd;
comp->socket_type = socket_type;
comp->socket_url = url;
- comp->max_instances = max_instances;
+ comp->max_rate = max_rate;
comp->flags = flags;
comp->privs.user = xstrdup (user); /* FIXME: memory leak */
if (group)

Return to:

Send suggestions and report system problems to the System administrator.