Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
eb4fa76c
Commit
eb4fa76c
authored
Feb 23, 2022
by
Rob Swindell
💬
Browse files
Delete dead code
CID 174474
parent
4a50048e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
src/sbbs3/main.cpp
src/sbbs3/main.cpp
+0
-15
No files found.
src/sbbs3/main.cpp
View file @
eb4fa76c
...
@@ -5251,21 +5251,6 @@ NO_SSH:
...
@@ -5251,21 +5251,6 @@ NO_SSH:
// Count the socket:
// Count the socket:
call_socket_open_callback
(
TRUE
);
call_socket_open_callback
(
TRUE
);
if
(
client_socket
==
INVALID_SOCKET
)
{
#if 0 /* is this necessary still? */
if(ERROR_VALUE == ENOTSOCK || ERROR_VALUE == EINTR || ERROR_VALUE == EINVAL) {
lputs(LOG_NOTICE,"BBS socket closed");
break;
}
#endif
lprintf
(
LOG_ERR
,
"!ERROR %d accepting connection"
,
ERROR_VALUE
);
#ifdef _WIN32
if
(
WSAGetLastError
()
==
WSAENOBUFS
)
{
/* recycle (re-init WinSock) on this error */
break
;
}
#endif
continue
;
}
char
host_ip
[
INET6_ADDRSTRLEN
];
char
host_ip
[
INET6_ADDRSTRLEN
];
inet_addrtop
(
&
client_addr
,
host_ip
,
sizeof
(
host_ip
));
inet_addrtop
(
&
client_addr
,
host_ip
,
sizeof
(
host_ip
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment