aboutsummaryrefslogtreecommitdiff
path: root/src/connection.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-06-28 02:02:38 -0400
committerkwolekr <kwolekr@minetest.net>2014-06-28 02:02:38 -0400
commitc91f8b1d251c81dcfc398c9ca2a4d79086212839 (patch)
treea385d296392c3935a331364f26883ac5c9e4f493 /src/connection.h
parent6ee0db6fec90471fb6873d7f3046aa8bfae8c2dd (diff)
downloadhax-minetest-server-c91f8b1d251c81dcfc398c9ca2a4d79086212839.tar.gz
hax-minetest-server-c91f8b1d251c81dcfc398c9ca2a4d79086212839.zip
Add prefixes to enum values and fix style issues
Diffstat (limited to 'src/connection.h')
-rw-r--r--src/connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/connection.h b/src/connection.h
index 338ee964c..b025a4dfc 100644
--- a/src/connection.h
+++ b/src/connection.h
@@ -120,9 +120,9 @@ public:
};
typedef enum MTProtocols {
- PRIMARY,
- UDP,
- MINETEST_RELIABLE_UDP
+ MTP_PRIMARY,
+ MTP_UDP,
+ MTP_MINETEST_RELIABLE_UDP
} MTProtocols;
#define SEQNUM_MAX 65535