diff options
| author | xHire <xhire@tuxportal.cz> | 2009-05-22 16:09:06 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2009-05-26 01:10:02 +0200 |
| commit | 956213a0b57842c3829c0fe13ac917d242e0effb (patch) | |
| tree | 6e72a8c5359342d4e8222665610781036a2db4ea /src | |
| parent | 676600a83becf1d8da0ba8f7a56fa8ce544fe7ce (diff) | |
Fixed few errors made during the cleaning process
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/modPipe.c | 2 | ||||
| -rw-r--r-- | src/modules/modWall.c | 1 | ||||
| -rw-r--r-- | src/net/udp.c | 2 |
3 files changed, 2 insertions, 3 deletions
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); |