aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-13 18:09:56 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-13 18:09:56 +0100
commit7a570c7a4a9d02379d3c59eaa8d15e63d0378ab9 (patch)
tree7060e004bd7e60711ebe882e7d1f55ed5cb65c23
parenta1e6cc2afb9e1fa92b839ff5cefbc119eec222d1 (diff)
Deleted trailing whitespace characters
-rw-r--r--FICS/network.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/network.c b/FICS/network.c
index 2480a69..c4581da 100644
--- a/FICS/network.c
+++ b/FICS/network.c
@@ -319,7 +319,7 @@ PUBLIC int readline2(char *com, int who)
con[who].processed = 0;
con[who].outPos = 0;
return (1);
- } else if ((*s > (0xff - 0x20)) || (*s < 0x20)) {
+ } else if ((*s > (0xff - 0x20)) || (*s < 0x20)) {
d = s;
state = 2;
}
@@ -564,7 +564,7 @@ PUBLIC void ngc2(char *com, int timeout)
int fd, loop, nfound, lineComplete;
fd_set readfds;
struct timeval to;
-
+
while ((fd = accept(sockfd, (struct sockaddr *) & cli_addr, &cli_len)) != -1)
{
if (net_addConnection(fd, cli_addr.sin_addr.s_addr)) {
@@ -574,7 +574,7 @@ PUBLIC void ngc2(char *com, int timeout)
} else
process_new_connection(fd, net_connected_host(fd));
}
-
+
if (errno != EWOULDBLOCK)
fprintf(stderr, "FICS: Problem with accept(). errno=%d\n", errno);