Skip to content
Snippets Groups Projects
Commit bb5163ec authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Removed compiler warning

Rev: src/modules/spider/dumudp.c:1.9
parent c2d7d9b5
No related branches found
No related tags found
No related merge requests found
#include <config.h> #include <config.h>
#include "global.h" #include "global.h"
RCSID("$Id: dumudp.c,v 1.8 1997/04/16 03:13:24 hubbe Exp $"); RCSID("$Id: dumudp.c,v 1.9 1997/04/21 19:29:50 grubba Exp $");
#include "types.h" #include "types.h"
#include "interpret.h" #include "interpret.h"
#include "svalue.h" #include "svalue.h"
...@@ -262,12 +262,12 @@ void udp_sendto(INT32 args) ...@@ -262,12 +262,12 @@ void udp_sendto(INT32 args)
} }
void zero_udp() void zero_udp(struct object *o)
{ {
MEMSET(THIS, 0, sizeof(struct dumudp)); MEMSET(THIS, 0, sizeof(struct dumudp));
} }
void exit_udp() void exit_udp(struct object *o)
{ {
if(THIS->fd) close(THIS->fd); if(THIS->fd) close(THIS->fd);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment