summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tls.c b/tls.c
index 111e198..efff7a9 100644
--- a/tls.c
+++ b/tls.c
@@ -324,7 +324,7 @@ void tlsserverrd(struct client *client) {
void *tlsservernew(void *arg) {
int s;
struct sockaddr_storage from;
- socklent_t fromlen = sizeof(from);
+ socklen_t fromlen = sizeof(from);
struct clsrvconf *conf;
struct list_node *cur = NULL;
SSL *ssl = NULL;