projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19981123-4
[rocksndiamonds.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index 76b4e66fa9b9221876ca6eaa0c634237480159b2..8af730753e7f2a892db2c083c76cc81a8d20fe8f 100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-238,9
+238,9
@@
void SendToServer_Nickname(char *nickname)
void SendToServer_ProtocolVersion()
{
buf[1] = OP_PROTOCOL_VERSION;
void SendToServer_ProtocolVersion()
{
buf[1] = OP_PROTOCOL_VERSION;
- buf[2] = PROT
_VERS
_1;
- buf[3] = PROT
_VERS
_2;
- buf[4] = PROT
_VERS
_3;
+ buf[2] = PROT
OCOL_VERSION
_1;
+ buf[3] = PROT
OCOL_VERSION
_2;
+ buf[4] = PROT
OCOL_VERSION
_3;
sendbuf(5);
}
sendbuf(5);
}
@@
-306,7
+306,8
@@
static void Handle_OP_BAD_PROTOCOL_VERSION()
{
Error(ERR_WARN, "protocol version mismatch");
Error(ERR_EXIT, "server expects %d.%d.x instead of %d.%d.%d",
{
Error(ERR_WARN, "protocol version mismatch");
Error(ERR_EXIT, "server expects %d.%d.x instead of %d.%d.%d",
- buf[2], buf[3], PROT_VERS_1, PROT_VERS_2, PROT_VERS_3);
+ buf[2], buf[3],
+ PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, PROTOCOL_VERSION_3);
}
static void Handle_OP_YOUR_NUMBER()
}
static void Handle_OP_YOUR_NUMBER()