summaryrefslogtreecommitdiff
blob: 0ac2ab0b1531d6c2a347cf31e1e19836937f2e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://github.com/pokerth/pokerth/issues/339
--- PokerTH-1.1.1-src/pokerth.proto
+++ PokerTH-1.1.1-src.new/pokerth.proto
@@ -701,7 +701,7 @@
 
 message ErrorMessage {
 	enum ErrorReason {
-		reserved = 0;
+		custReserved = 0;
 		initVersionNotSupported = 1;
 		initServerFull = 2;
 		initAuthFailure = 3;
--- PokerTH-1.1.1-src/src/net/common/netpacket.cpp
+++ PokerTH-1.1.1-src.new/src/net/common/netpacket.cpp
@@ -249,7 +249,7 @@
 		retVal = ErrorMessage::sessionTimeout;
 		break;
 	default :
-		retVal = ErrorMessage::reserved;
+		retVal = ErrorMessage::custReserved;
 		break;
 	}
 	return retVal;