Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/heimdal/kadmin Use socklen_t as appropriate, so ...



details:   https://anonhg.NetBSD.org/src/rev/a4652406a26a
branches:  trunk
changeset: 495782:a4652406a26a
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Aug 06 06:48:50 2000 +0000

description:
Use socklen_t as appropriate, so that this compiles on LP64
systems.

diffstat:

 crypto/dist/heimdal/kadmin/kadm_conn.c |  4 ++--
 crypto/dist/heimdal/kadmin/kadmind.c   |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 33b250e25be9 -r a4652406a26a crypto/dist/heimdal/kadmin/kadm_conn.c
--- a/crypto/dist/heimdal/kadmin/kadm_conn.c    Sun Aug 06 02:07:15 2000 +0000
+++ b/crypto/dist/heimdal/kadmin/kadm_conn.c    Sun Aug 06 06:48:50 2000 +0000
@@ -36,7 +36,7 @@
 #include <sys/wait.h>
 #endif
 
-RCSID("$Id: kadm_conn.c,v 1.1.1.1 2000/08/02 19:58:51 assar Exp $");
+RCSID("$Id: kadm_conn.c,v 1.2 2000/08/06 06:48:50 thorpej Exp $");
 
 struct kadm_port {
     char *port;
@@ -124,7 +124,7 @@
 {
     int e, i;
     struct sockaddr sa;
-    size_t sa_size;
+    socklen_t sa_size;
     int s;
     pid_t pid;
     krb5_address addr;
diff -r 33b250e25be9 -r a4652406a26a crypto/dist/heimdal/kadmin/kadmind.c
--- a/crypto/dist/heimdal/kadmin/kadmind.c      Sun Aug 06 02:07:15 2000 +0000
+++ b/crypto/dist/heimdal/kadmin/kadmind.c      Sun Aug 06 06:48:50 2000 +0000
@@ -33,7 +33,7 @@
 
 #include "kadmin_locl.h"
 
-RCSID("$Id: kadmind.c,v 1.1.1.2 2000/08/02 19:58:52 assar Exp $");
+RCSID("$Id: kadmind.c,v 1.2 2000/08/06 06:48:50 thorpej Exp $");
 
 static char *config_file;
 static char *keyfile;
@@ -135,7 +135,7 @@
     {
        int fd = 0;
        struct sockaddr sa;
-       size_t sa_size;
+       socklen_t sa_size;
        krb5_auth_context ac = NULL;
        int debug_port;
        sa_size = sizeof(sa);



Home | Main Index | Thread Index | Old Index