diff options
author | assar <assar@FreeBSD.org> | 2001-02-13 16:46:19 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-02-13 16:46:19 +0000 |
commit | ebfe6dc471c206300fd82c7c0fd145f683aa52f6 (patch) | |
tree | e66aa570ad1d12c43b32a7313b0f8e28971bf8a9 /crypto/heimdal/appl/test/uu_client.c | |
parent | e5f617598c2db0dd51906a38ecea9208123a8b70 (diff) | |
download | FreeBSD-src-ebfe6dc471c206300fd82c7c0fd145f683aa52f6.zip FreeBSD-src-ebfe6dc471c206300fd82c7c0fd145f683aa52f6.tar.gz |
import of heimdal 0.3e
Diffstat (limited to 'crypto/heimdal/appl/test/uu_client.c')
-rw-r--r-- | crypto/heimdal/appl/test/uu_client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/heimdal/appl/test/uu_client.c b/crypto/heimdal/appl/test/uu_client.c index 204f919..fae5bcb 100644 --- a/crypto/heimdal/appl/test/uu_client.c +++ b/crypto/heimdal/appl/test/uu_client.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997 - 1999 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -32,7 +32,7 @@ */ #include "test_locl.h" -RCSID("$Id: uu_client.c,v 1.5 1999/12/04 18:17:26 assar Exp $"); +RCSID("$Id: uu_client.c,v 1.7 2000/12/31 07:41:39 assar Exp $"); krb5_context context; @@ -40,7 +40,7 @@ static int proto (int sock, const char *hostname, const char *service) { struct sockaddr_in remote, local; - int addrlen; + socklen_t addrlen; krb5_address remote_addr, local_addr; krb5_context context; krb5_ccache ccache; @@ -63,7 +63,7 @@ proto (int sock, const char *hostname, const char *service) status = krb5_init_context(&context); if (status) - krb5_err(context, 1, status, "krb5_init_context"); + errx(1, "krb5_init_context failed: %d", status); status = krb5_cc_default (context, &ccache); if (status) |