From 75e0770d9661d5c1c3a4ce8122a50602eebb4de4 Mon Sep 17 00:00:00 2001 From: Ulf Möller Date: Thu, 13 May 1999 13:21:17 +0000 Subject: VMS support bug fixes. --- apps/s_server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/s_server.c') diff --git a/apps/s_server.c b/apps/s_server.c index 5004b6fc0e..42ca408ce3 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -83,8 +83,8 @@ typedef unsigned int u_int; #include #include "s_apps.h" -#if (__VMS_VER < 70000000) /* FIONBIO used as a switch to enable ioctl, - and that isn't in VMS < 7.0 */ +#if (defined(VMS) && __VMS_VER < 70000000) +/* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */ #undef FIONBIO #endif @@ -628,7 +628,7 @@ static int sv_body(char *hostname, int s, unsigned char *context) FD_SET(fileno(stdin),&readfds); #endif FD_SET(s,&readfds); - /* Note: under VMS with SOCKETSHR the third parameter is + /* Note: under VMS with SOCKETSHR the second parameter is * currently of type (int *) whereas under other systems * it is (void *) if you don't have a cast it will choke * the compiler: if you do have a cast then you can either -- cgit v1.2.3