aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 49ca7a36e..a17d28ebf 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -908,7 +908,6 @@ static void config (int sig ATTRIBUTE_UNUSED)
908{ 908{
909 servtab_t *sep, *cp, **sepp; 909 servtab_t *sep, *cp, **sepp;
910 sigset_t omask; 910 sigset_t omask;
911 int add;
912 size_t n; 911 size_t n;
913 char protoname[10]; 912 char protoname[10];
914 913
@@ -923,7 +922,7 @@ static void config (int sig ATTRIBUTE_UNUSED)
923 for (sep = servtab; sep; sep = sep->se_next) 922 for (sep = servtab; sep; sep = sep->se_next)
924 if (matchconf (sep, cp)) 923 if (matchconf (sep, cp))
925 break; 924 break;
926 add = 0; 925
927 if (sep != 0) { 926 if (sep != 0) {
928 int i; 927 int i;
929 928
@@ -958,7 +957,6 @@ static void config (int sig ATTRIBUTE_UNUSED)
958#endif 957#endif
959 sigprocmask(SIG_UNBLOCK, &omask, NULL); 958 sigprocmask(SIG_UNBLOCK, &omask, NULL);
960 freeconfig (cp); 959 freeconfig (cp);
961 add = 1;
962 } else { 960 } else {
963 sep = enter (cp); 961 sep = enter (cp);
964 } 962 }