summaryrefslogtreecommitdiff
path: root/src/IO
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO')
-rw-r--r--src/IO/IO.c4
-rw-r--r--src/IO/http.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/IO/IO.c b/src/IO/IO.c
index a0e18226..77790131 100644
--- a/src/IO/IO.c
+++ b/src/IO/IO.c
@@ -152,10 +152,10 @@ static void IO_close_fd(IOData_t *io, int CloseCode)
/* Stop the polling on this FD */
if (CloseCode & IO_StopRd) {
events |= DIO_READ;
- }
+ }
if (CloseCode & IO_StopWr) {
events |= DIO_WRITE;
- }
+ }
a_IOwatch_remove_fd(io->FD, events);
_MSG(" end IO close (%d) <=====\n", io->FD);
}
diff --git a/src/IO/http.c b/src/IO/http.c
index 738937db..d8ef6113 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -362,7 +362,7 @@ static int Http_connect_socket(ChainLink *Info)
struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&name;
socket_len = sizeof(struct sockaddr_in6);
sin6->sin6_family = dh->af;
- sin6->sin6_port =
+ sin6->sin6_port =
S->port ? htons(S->port) : htons(DILLO_URL_HTTP_PORT);
memcpy(&sin6->sin6_addr, dh->data, dh->alen);
inet_ntop(dh->af, dh->data, buf, sizeof(buf));