diff options
Diffstat (limited to 'src/appl/user_user/server.c')
-rw-r--r-- | src/appl/user_user/server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/appl/user_user/server.c b/src/appl/user_user/server.c index b81d162003..022767df36 100644 --- a/src/appl/user_user/server.c +++ b/src/appl/user_user/server.c @@ -47,7 +47,8 @@ int argc; char *argv[]; { krb5_data pname_data, tkt_data; - int l, sock = 0; + int sock = 0; + socklen_t l; int retval; struct sockaddr_in l_inaddr, f_inaddr; /* local, foreign address */ krb5_creds creds, *new_creds; @@ -71,7 +72,7 @@ char *argv[]; int one = 1; int acc; struct servent *sp; - int namelen = sizeof(f_inaddr); + socklen_t namelen = sizeof(f_inaddr); if ((sock = socket(PF_INET, SOCK_STREAM, 0)) < 0) { com_err("uu-server", errno, "creating socket"); |