From 956213a0b57842c3829c0fe13ac917d242e0effb Mon Sep 17 00:00:00 2001 From: xHire Date: Fri, 22 May 2009 16:09:06 +0200 Subject: Fixed few errors made during the cleaning process --- src/modules/modPipe.c | 2 +- src/modules/modWall.c | 1 - src/net/udp.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c index adf542c..297fc51 100644 --- a/src/modules/modPipe.c +++ b/src/modules/modPipe.c @@ -168,7 +168,7 @@ static void cmd_teleport(char *line) if (spacePipe == NULL) { spacePipe = space_new(export_fce->fce_arena_get_current()->w, export_fce->fce_arena_get_current()->h, 320, 240, - etStatusPipe, setStatusPipe); + getStatusPipe, setStatusPipe); } space_add(spacePipe, new); diff --git a/src/modules/modWall.c b/src/modules/modWall.c index 67a63c1..bb451e0 100644 --- a/src/modules/modWall.c +++ b/src/modules/modWall.c @@ -18,7 +18,6 @@ #include "publicServer.h" #endif -#ifndef PUBLIC_SERVER typedef struct wall_struct { int id; diff --git a/src/net/udp.c b/src/net/udp.c index 292a0db..b8675c7 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -55,7 +55,7 @@ void sock_udp_destroy(sock_udp_t *p) sock_udp_t *sock_udp_bind(char *address, int port) { sock_udp_t *new; - ret = -1; /* no warnings */ + int res = -1; /* no warnings */ assert(port > 0 && port < 65535); -- cgit v1.2.3