From 54aff5808827796ed36a66383d479a313cf0fd0f Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 24 Sep 2008 13:28:00 +0000 Subject: hopefully removed some warnings git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@404 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 4 ++-- 1 file 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); -- cgit v1.1