netutils/telnetd/telnetd_daemon.c: Fix another C89 violation that caused the ez80 build to fail.
This commit is contained in:
parent
31147b962c
commit
63de16bd58
6
netutils/ping/.gitignore
vendored
Normal file
6
netutils/ping/.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
/.built
|
||||
/.depend
|
||||
/Make.dep
|
||||
/*.src
|
||||
/*.obj
|
||||
/*.lst
|
@ -272,9 +272,11 @@ static int telnetd_daemon(int argc, char *argv[])
|
||||
|
||||
for (;;)
|
||||
{
|
||||
socklen_t accptlen;
|
||||
|
||||
ninfo("Accepting connections on port %d\n", ntohs(daemon->port));
|
||||
|
||||
socklen_t accptlen = sizeof(addr);
|
||||
accptlen = sizeof(addr);
|
||||
acceptsd = accept(listensd, &addr.generic, &accptlen);
|
||||
if (acceptsd < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user