summaryrefslogtreecommitdiff
path: root/src/net_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net_common.c')
-rw-r--r--src/net_common.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/net_common.c b/src/net_common.c
index 57699fd9..f25cc73d 100644
--- a/src/net_common.c
+++ b/src/net_common.c
@@ -22,7 +22,6 @@
//
#include <stdio.h>
-#include <ctype.h>
#include <stdlib.h>
#include "doomtype.h"
@@ -32,6 +31,7 @@
#include "net_common.h"
#include "net_io.h"
#include "net_packet.h"
+#include "net_structrw.h"
// connections time out after 10 seconds
@@ -513,26 +513,6 @@ unsigned int NET_ExpandTicNum(unsigned int relative, unsigned int b)
return result;
}
-// "Safe" version of puts, for displaying messages received from the
-// network.
-
-void NET_SafePuts(char *s)
-{
- char *p;
-
- // Do not do a straight "puts" of the string, as this could be
- // dangerous (sending control codes to terminals can do all
- // kinds of things)
-
- for (p=s; *p; ++p)
- {
- if (isprint(*p))
- putchar(*p);
- }
-
- putchar('\n');
-}
-
// Check that game settings are valid
boolean NET_ValidGameSettings(GameMode_t mode, GameMission_t mission,