summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 3f2b68e7..49915683 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.21 2002/04/15 20:00:22 in2 Exp $ */
+/* $Id: mbbsd.c,v 1.22 2002/04/27 15:50:17 in2 Exp $ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -288,7 +288,7 @@ dosearchuser (char *userid)
}
static void
-talk_request ()
+talk_request(int sig)
{
bell ();
bell ();
@@ -1351,7 +1351,7 @@ daemon_login (int argc, char *argv[], char *envp[])
/* main loop */
for(;;) {
len_of_sock_addr = sizeof(xsin);
- csock = accept(msock, (struct sockaddr *)&xsin, &len_of_sock_addr);
+ csock = accept(msock, (struct sockaddr *)&xsin, (socklen_t *)&len_of_sock_addr);
if(csock < 0) {
if(errno!=EINTR) sleep(1);