Commit 0b51bba2 authored by venaas's avatar venaas Committed by venaas

hopefully removed some warnings

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@402 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 4ad3361b
...@@ -263,7 +263,7 @@ void tcpserverrd(struct client *client) { ...@@ -263,7 +263,7 @@ void tcpserverrd(struct client *client) {
void *tcpservernew(void *arg) { void *tcpservernew(void *arg) {
int s; int s;
struct sockaddr_storage from; struct sockaddr_storage from;
size_t fromlen = sizeof(from); socklen_t fromlen = sizeof(from);
struct clsrvconf *conf; struct clsrvconf *conf;
struct client *client; struct client *client;
...@@ -297,7 +297,7 @@ void *tcplistener(void *arg) { ...@@ -297,7 +297,7 @@ void *tcplistener(void *arg) {
pthread_t tcpserverth; pthread_t tcpserverth;
int s, *sp = (int *)arg; int s, *sp = (int *)arg;
struct sockaddr_storage from; struct sockaddr_storage from;
size_t fromlen = sizeof(from); socklen_t fromlen = sizeof(from);
listen(*sp, 0); listen(*sp, 0);
......
...@@ -324,7 +324,7 @@ void tlsserverrd(struct client *client) { ...@@ -324,7 +324,7 @@ void tlsserverrd(struct client *client) {
void *tlsservernew(void *arg) { void *tlsservernew(void *arg) {
int s; int s;
struct sockaddr_storage from; struct sockaddr_storage from;
size_t fromlen = sizeof(from); socklent_t fromlen = sizeof(from);
struct clsrvconf *conf; struct clsrvconf *conf;
struct list_node *cur = NULL; struct list_node *cur = NULL;
SSL *ssl = NULL; SSL *ssl = NULL;
...@@ -395,7 +395,7 @@ void *tlslistener(void *arg) { ...@@ -395,7 +395,7 @@ void *tlslistener(void *arg) {
pthread_t tlsserverth; pthread_t tlsserverth;
int s, *sp = (int *)arg; int s, *sp = (int *)arg;
struct sockaddr_storage from; struct sockaddr_storage from;
size_t fromlen = sizeof(from); socklen_t fromlen = sizeof(from);
listen(*sp, 0); listen(*sp, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment