From 2ec18dfed9c71f9f73d30789c40b18d63de05622 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 24 Jul 1996 22:36:49 +0000 Subject: [PATCH] * ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at the beginning of the line to avoid cpp breakage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8808 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/ChangeLog | 5 +++++ src/kadmin/server/ovsec_kadmd.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index d19151c19..5a9329587 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 24 18:34:33 1996 Tom Yu + + * ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at the + beginning of the line to avoid cpp breakage. + Wed Jul 24 14:28:04 1996 Ezra Peisach * Makefile.in (CFLAGS): Use $(LD) instead of $(CC) for linking. diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index 34f233893..271ec8c7d 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -222,7 +222,7 @@ int main(int argc, char *argv[]) exit(1); } - #ifdef SO_REUSEADDR +#ifdef SO_REUSEADDR /* the old admin server turned on SO_REUSEADDR for non-default port numbers. this was necessary, on solaris, for the tests to work. jhawk argues that the debug and production modes @@ -249,7 +249,7 @@ int main(int argc, char *argv[]) exit(1); } } - #endif +#endif /* SO_REUSEADDR */ if (bind(s, (struct sockaddr *)&addr, sizeof(addr)) < 0) { int oerrno = errno; fprintf(stderr, "%s: Cannot bind socket.\n", whoami); -- 2.26.2