hopefully removed some warnings
authorvenaas <venaas>
Wed, 24 Sep 2008 13:28:00 +0000 (13:28 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 24 Sep 2008 13:28:00 +0000 (13:28 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@404 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index af94af3..c9980e4 100644 (file)
@@ -2511,7 +2511,7 @@ void tlsserverrd(struct client *client) {
 void *tlsservernew(void *arg) {
     int s;
     struct sockaddr_storage from;
-    size_t fromlen = sizeof(from);
+    socklen_t fromlen = sizeof(from);
     struct clsrvconf *conf;
     struct list_node *cur = NULL;
     SSL *ssl = NULL;
@@ -2582,7 +2582,7 @@ int tlslistener() {
     pthread_t tlsserverth;
     int s, snew;
     struct sockaddr_storage from;
-    size_t fromlen = sizeof(from);
+    socklen_t fromlen = sizeof(from);
     struct clsrvconf *listenres;
 
     listenres = resolve_hostport('T', options.listentcp, DEFAULT_TLS_PORT);