summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/utmpd/Makefile2
-rw-r--r--daemon/utmpd/authserver.c2
-rw-r--r--daemon/utmpd/utmpserver2.c2
-rw-r--r--daemon/utmpd/utmpserver3.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/daemon/utmpd/Makefile b/daemon/utmpd/Makefile
index 6abe9c7c..e03d8dae 100644
--- a/daemon/utmpd/Makefile
+++ b/daemon/utmpd/Makefile
@@ -5,7 +5,7 @@ SRCROOT= ../..
PROGRAMS= utmpserver utmpsync utmpserver2 utmpserver3 authserver
UTILDIR= $(SRCROOT)/util
-UTILOBJ= $(UTILDIR)/util_var.o $(UTILDIR)/util_cache.o $(UTILDIR)/util_passwd.o $(UTILDIR)/util_record.o
+UTILOBJ= $(UTILDIR)/util_var.o $(UTILDIR)/util_cache.o $(UTILDIR)/util_passwd.o
LDLIBS+=$(SRCROOT)/common/bbs/libcmbbs.a \
$(SRCROOT)/common/sys/libcmsys.a \
diff --git a/daemon/utmpd/authserver.c b/daemon/utmpd/authserver.c
index ce728fa9..aa580f94 100644
--- a/daemon/utmpd/authserver.c
+++ b/daemon/utmpd/authserver.c
@@ -221,7 +221,7 @@ int main(int argc, char *argv[])
return 1;
}
- if( (sfd = tobind(iface_ip, port)) < 0 )
+ if( (sfd = tobind(iface_ip)) < 0 )
return 1;
srandom(getpid() + time(NULL));
diff --git a/daemon/utmpd/utmpserver2.c b/daemon/utmpd/utmpserver2.c
index aca43245..ce79c0c7 100644
--- a/daemon/utmpd/utmpserver2.c
+++ b/daemon/utmpd/utmpserver2.c
@@ -213,7 +213,7 @@ int main(int argc, char *argv[])
#ifdef FAKEDATA
fp=fopen("utmp.data","rb");
#else
- if( (sfd = tobind(iface_ip, port)) < 0 )
+ if( (sfd = tobind(iface_ip)) < 0 )
return 1;
#endif
while(1) {
diff --git a/daemon/utmpd/utmpserver3.c b/daemon/utmpd/utmpserver3.c
index de112802..83fa6285 100644
--- a/daemon/utmpd/utmpserver3.c
+++ b/daemon/utmpd/utmpserver3.c
@@ -327,7 +327,7 @@ int main(int argc, char *argv[])
return 1;
}
- if( (sfd = tobind(iface_ip, port)) < 0 )
+ if( (sfd = tobind(iface_ip)) < 0 )
return 1;
event_init();