From a65e0f7a2d18e29a619b137b8a1ddbc55891d573 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Thu, 28 Sep 1995 10:24:32 +0000 Subject: [PATCH] Windows changes --- comstack/xmosi.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/comstack/xmosi.c b/comstack/xmosi.c index 9990468..adb9d35 100644 --- a/comstack/xmosi.c +++ b/comstack/xmosi.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: xmosi.c,v $ - * Revision 1.4 1995-09-27 15:02:45 quinn + * Revision 1.5 1995-09-28 10:24:32 quinn + * Windows changes + * + * Revision 1.4 1995/09/27 15:02:45 quinn * Modified function heads & prototypes. * * Revision 1.3 1995/06/16 10:30:38 quinn @@ -333,7 +336,7 @@ int mosi_bind(COMSTACK h, void *address, int mode) if (setsockopt(h->iofile, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) < 0) { - h->errno = CSYSERR; + h->cerrno = CSYSERR; return -1; } if (mode == CS_SERVER) @@ -374,7 +377,7 @@ COMSTACK mosi_accept(COMSTACK h) if (h->state != CS_INCON) { - h->errno = CSOUTSTATE; + h->cerrno = CSOUTSTATE; return 0; } if (!(new = malloc(sizeof(*new)))) -- 1.7.10.4