From b196ed79a7ec1cf7251bb467b20ba83e12ee29d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 26 Jul 1999 13:46:28 +0200 Subject: [PATCH] Fixed a few typos. Rev: src/modules/files/udp.c:1.6 --- src/modules/files/udp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/files/udp.c b/src/modules/files/udp.c index 3f78a2f516..c7af4ead1c 100644 --- a/src/modules/files/udp.c +++ b/src/modules/files/udp.c @@ -1,12 +1,12 @@ /* - * $Id: udp.c,v 1.5 1999/07/25 18:29:16 grubba Exp $ + * $Id: udp.c,v 1.6 1999/07/26 11:46:28 grubba Exp $ */ #include "global.h" #include "file_machine.h" -RCSID("$Id: udp.c,v 1.5 1999/07/25 18:29:16 grubba Exp $"); +RCSID("$Id: udp.c,v 1.6 1999/07/26 11:46:28 grubba Exp $"); #include "fdlib.h" #include "interpret.h" #include "svalue.h" @@ -332,7 +332,7 @@ void udp_read(INT32 args) if(res<0) { - switch(errno) + switch(e) { #ifdef WSAEBADF case WSAEBADF: @@ -360,7 +360,7 @@ void udp_read(INT32 args) return; default: - error("Socket read failed with errno %d.\n",errno); + error("Socket read failed with errno %d.\n", e); } } /* Now comes the interresting part. @@ -430,7 +430,7 @@ void udp_sendto(INT32 args) if(res<0) { - switch(errno) + switch(e) { #ifdef EMSGSIZE case EMSGSIZE: -- GitLab