From 334cb452bfee4d0511f9591292903d01f58efaf9 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 20 Oct 2004 09:14:04 +0000 Subject: Fix miscellaneous warnings. svn path=/trunk/; revision=3953 --- rcfile_y.y | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 95fc4f69..e11a3687 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -157,7 +157,7 @@ serv_option : AKA alias_list #else current.server.authenticate = A_KERBEROS_V4; #endif /* KERBEROS_V5 */ -#if INET6_ENABLE +#ifdef INET6_ENABLE current.server.service = KPOP_PORT; #else /* INET6_ENABLE */ current.server.port = KPOP_PORT; @@ -179,12 +179,12 @@ serv_option : AKA alias_list | CHECKALIAS {current.server.checkalias = FLAG_TRUE;} | NO CHECKALIAS {current.server.checkalias = FLAG_FALSE;} | SERVICE STRING { -#if INET6_ENABLE +#ifdef INET6_ENABLE current.server.service = $2; #endif /* INET6_ENABLE */ } | PORT NUMBER { -#if INET6_ENABLE +#ifdef INET6_ENABLE int port = $2; char buf[10]; sprintf(buf, "%d", port); @@ -603,5 +603,3 @@ char *prependdir (const char *file, const char *dir) int yywrap(void) {return 1;} /* rcfile_y.y ends here */ - - -- cgit v1.2.3