Use socklen_t where available.

Patch from <Pascal.Stumpf@cubes.de>

This should use socklen_t where available, really ...
This commit is contained in:
Jon Trulson
2012-08-09 12:27:58 -06:00
parent 686bcfadc7
commit 1f332de27b
3 changed files with 14 additions and 2 deletions

View File

@@ -355,7 +355,11 @@ gettransient(int proto, int vers, int *sockp)
#ifndef OPT_TLI
int found;
int s;
#if defined(linux) || defined(CSRG_BASED)
socklen_t len;
#else
int len;
#endif
int socktype;
sockaddr_in addr;
sockaddr_in tport;