summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-24 13:28:00 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-24 13:28:00 +0000
commit54aff5808827796ed36a66383d479a313cf0fd0f (patch)
treefe98f4c5d4910d5e15589e2f9c8f97b86621a731
parente8d23e687d8e2c490ec0532505f31912696a21a5 (diff)
hopefully removed some warnings
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@404 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index af94af3..c9980e4 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -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);