From f8abe42a0d1a42653b39f6cf320d3fbdd1279bb3 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Fri, 3 Oct 2008 12:49:06 +0000 Subject: Consolidated all MVD server code in a single file for easier portability. Perform more strict configstring length checks server side. No longer stop reading packets in a loop after an ICMP error. --- source/protocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/protocol.h') diff --git a/source/protocol.h b/source/protocol.h index 581ecc3..517e6ce 100644 --- a/source/protocol.h +++ b/source/protocol.h @@ -238,7 +238,8 @@ typedef enum clc_ops_e { #define PPS_STATS (1<<14) #define PPS_REMOVE (1<<15) -#define PPS_NUM( ps ) (ps)->pmove.pm_flags +// this is just a small hack to store inuse flag +// in a field left otherwise unused by MVD code #define PPS_INUSE( ps ) (ps)->pmove.pm_time //============================================== -- cgit v1.2.3