From d12a9fd32e364ee2df0f25c93480cdfa30bd5d19 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Fri, 28 Apr 1995 21:43:03 +0000 Subject: [PATCH] Sorry - reinstate for srv_net and proto_serv git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5642 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/v5server/ChangeLog | 7 +++++-- src/kadmin/v5server/proto_serv.c | 1 + src/kadmin/v5server/srv_net.c | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/kadmin/v5server/ChangeLog b/src/kadmin/v5server/ChangeLog index d3dee80b2..ec0ee8829 100644 --- a/src/kadmin/v5server/ChangeLog +++ b/src/kadmin/v5server/ChangeLog @@ -1,6 +1,9 @@ -Fri Apr 28 17:38:40 1995 Mark Eichin - * srv_net.c: include . +Fri Apr 28 17:38:36 EDT 1995 Paul Park (pjpark@mit.edu) + + * srv_net.c, proto_serv.c - re-include for signal name + definitions. Removal of them was over-zealous. + Fri Apr 28 16:38:18 EDT 1995 Paul Park (pjpark@mit.edu) * srv_output.c - slight cleanup to allow output_lang_supported() diff --git a/src/kadmin/v5server/proto_serv.c b/src/kadmin/v5server/proto_serv.c index f3dcc490b..2b4cc600c 100644 --- a/src/kadmin/v5server/proto_serv.c +++ b/src/kadmin/v5server/proto_serv.c @@ -27,6 +27,7 @@ * protocol as implemented in lib/krb5/os/adm_conn.c. Any changes * in one module must be reflected in the other. */ +#include #define NEED_SOCKETS #include "k5-int.h" #include "com_err.h" diff --git a/src/kadmin/v5server/srv_net.c b/src/kadmin/v5server/srv_net.c index 23ee900a1..c3f678801 100644 --- a/src/kadmin/v5server/srv_net.c +++ b/src/kadmin/v5server/srv_net.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef USE_PTHREADS #include #endif /* USE_PTHREADS */ @@ -491,7 +491,7 @@ net_init(kcontext, debug_level) bind_tries = 0; do { if (bind(net_listen_socket, - &net_server_addr, + (struct sockaddr *) &net_server_addr, sizeof(net_server_addr)) < 0) { kret = errno; if (errno != EADDRINUSE) { -- 2.26.2