summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 34a050ab..6685949f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -148,7 +148,7 @@ int main(int argc, char *argv[])
// Login
msg.writeShort(PAMSG_LOGIN);
// We send the client version
- msg.writeString(PACKAGE_VERSION);
+ msg.writeLong(0);
std::cout << "Account name: ";
std::cin >> line;
msg.writeString(line);
@@ -384,7 +384,7 @@ int main(int argc, char *argv[])
// The disconnection attempt didn't succeed yet. Force disconnection.
enet_peer_reset(&client->peers[0]);
}
-
+
enet_host_destroy(client);
return 0;
@@ -526,7 +526,7 @@ void parsePacket(char *data, int recvLength) {
break;
}
} break;
-
+
case APMSG_EMAIL_GET_RESPONSE:
{
switch (msg.readByte()) {